Skip to main content

X Integration

Documentation about how to enable and leverage the X (formerly Twitter) Integration in your Hatz account.

Updated over a week ago

💡Beta Features must be enabled in the tenant in order to access the Salesforce Beta Integration. Please reference How to Enable Beta Integrations for assistance.

Unlock the Power of X with Hatz AI: A Guide to the Integration

The integration of X and Hatz AI brings a new level of automation and insight to your social media workflow. By connecting your X account, you can manage your presence, engage with your audience, and analyze trends with the power of Hatz AI.

This guide will walk you through the features and tools provided by the X tool with Hatz AI's capabilities.

🐦 X (formerly Twitter) rebranded in 2023, familiar terms shifted: tweets are now posts and retweets are reposts. Our integration may still occasionally reference “Twitter” due to legacy terms and API/UI labels.


What is the X Tool?

The X tool is a powerful integration that allows you to connect and interact directly with your X account. It provides a comprehensive suite of tools for managing posts, lists, followers, and direct messages. With Hatz AI now connected to this tool, you can automate tasks, gain predictive insights, and perform intelligent operations across your X data.


How and What Can a User Access?

Each user on the Hatz platform is required to connect their individual X account through a secure integration setup, following X's authentication process.

This process ensures that the integration strictly complies with X's security protocols while respecting the access permissions and rules assigned to each user’s account.

It’s important to note that the Hatz X integration will never exceed the access levels granted to the user within X, guaranteeing alignment with the platform’s governance policies. As a result, outcomes and available features may vary depending on each user’s specific permissions and authenticated access.


Features of the X Integration Tool

1. Advanced Post Management

  • Create and Delete Posts: Create new posts or delete existing ones directly from the Hatz AI interface.

  • Search and Analyze: Search the full archive of public posts to gather insights, track conversations, and analyze trends.

  • Engage with Your Audience: Identify who has reposted a post to understand your reach and engage with your most active followers.

  • Bookmark Management: Add and retrieve bookmarked posts to keep track of important content.

2. Comprehensive Follower and List Management

  • Follow and Unfollow: Manage who you follow and unfollow users as needed.

  • Follower Insights: Get a list of your followers to analyze your audience and identify key influencers.

  • List Creation and Management: Create, delete, and manage X lists to organize users and streamline your feed. You can also add and remove members from your lists.

  • Discover New Lists: Find out which lists a user is a member of, owns, or has pinned to their profile.

3. Direct Message (DM) Automation

  • Create and Manage Conversations: Initiate new group DM conversations to engage with multiple users at once.

  • Stay on Top of Your DMs: Get recent DM events and retrieve specific DMs by their ID to keep track of your conversations.

  • Delete DMs: Delete direct messages that you have sent.

4. User Insights and Profile Management

  • User Lookup: Look up public user profiles by their username to get more information about them.

  • Your Profile: Access your own profile information to ensure it is up-to-date.

  • Manage Blocked and Muted Users: Get lists of users you have blocked or muted to manage your interactions on the platform.


Why Use the X Integration with Hatz AI?

Connecting your X data to and leveraging Hatz AI allows you to:

  • Automate Your Social Media Strategy: Schedule posts, manage lists, and engage with your audience automatically.

  • Gain Actionable Insights: Use AI-powered analytics to understand your followers, track trends, and measure the impact of your posts.

  • Enhance Productivity: Use intelligent automation to handle workflows and focus your team on high-value activities like content creation and community engagement.

  • Personalize Your Engagement: Utilize AI to identify key influencers and tailor your outreach for maximum impact.

  • Streamline Your Operations: The seamless integration ensures all your X data is easily accessible and actionable.


Real-Life Use Cases

Scenario 1: Automated Community Management

With the X toolkit, you can automatically identify and follow users who are relevant to your industry. You can also create lists of key influencers and use Hatz AI to monitor their posts for engagement opportunities.

Scenario 2: AI-Powered Content Strategy

Use the full archive search to analyze what your audience is talking about and identify trending topics. You can then use Hatz AI to generate post ideas and schedule them to be posted at optimal times.

Scenario 3: Proactive Customer Service

Monitor your DMs for customer inquiries and use Hatz AI to automatically respond with answers to frequently asked questions. You can also get notifications for new DM events to ensure you are providing timely support.


Hatz AI & X: Use Case List

This list outlines practical applications of the Hatz AI and X integration. It is categorized by the core features available through the tool, providing examples of direct Chat Prompts for quick, ad-hoc tasks and Workflow Automations for more structured, repeatable processes.

1. Post Management & Content Strategy

Use Case

Description

Chat Prompt Example

Workflow for Automation

AI-Powered Post Generation

Use AI to analyze trending topics or a specific subject and generate ready-to-post ideas, saving creative time.

Search for recent popular posts about 'generative AI' and draft three engaging posts for me to post.

Weekly Content Calendar Workflow:
1. Prompts the user for 3-5 key topics for the upcoming week.
2. For each topic, it searches X for recent, relevant conversations.
3. Hatz AI analyzes the findings and generates 2-3 distinct post drafts per topic.
4. Presents a list of all draft posts for the user to review, edit, and schedule.

Post Performance Analysis

Quickly understand the impact of a specific post by identifying who amplified it and getting a summary of your reach.

Who were the most influential accounts that reposted my last post?

Campaign Impact Report Workflow:
1. User provides the URL or ID of a key campaign post.
2. The workflow gets the list of all users who reposted it.
3. Hatz AI analyzes the 'reposters' profiles (bio, follower count) to identify key influencers or audience segments.
4. Generates a summary: "Your post was reposted X times. Key amplifiers included @UserA (Tech Influencer) and @UserB (Industry Journalist)."

Track Important Conversations

Save and retrieve important or inspiring posts without leaving the Hatz interface, creating a personal content swipe file.

Bookmark my last post. Then, show me my 5 most recent bookmarked posts.

Content Curation Workflow:
1. User provides a keyword or hashtag (e.g., #AIforGood).
2. The workflow searches for the top 10 most recent posts with that keyword.
3. It presents the list to the user, who can select which ones to automatically add to their X Bookmarks.

2. Audience & Community Engagement

Use Case

Description

Chat Prompt Example

Workflow for Automation

Automated List Building

Create and populate curated X lists to segment your feed, monitor competitors, or track industry experts.

Create a new private list called "SaaS Founders" and add the users @user1, @user2, and @user3.

Influencer List Creation Workflow:
1. Prompts the user for a topic (e.g., "Marketing Automation") and a new list name.
2. Searches for users with relevant keywords in their bio and high follower counts.
3. Hatz AI generates a list of suggested users to add.
4. Upon user approval, it creates the new list and adds the selected members.

New Follower Triage

Analyze new followers to identify high-value accounts, potential customers, or industry peers for immediate engagement.

Show me my 10 most recent followers and a summary of their bios.

Daily Follower Review Workflow:
1. Fetches the list of all new followers from the last 24 hours.
2. Hatz AI analyzes each follower's profile (bio, location, follower/following ratio).
3. It categorizes them into groups like "Potential Lead," "Industry Peer," or "Bot/Spam."
4. Presents a prioritized list, suggesting who to follow back or add to a specific list.

Community & List Discovery

Understand a user's interests and communities by discovering which public lists they belong to.

What public lists is the user @HatzAI a member of?

Competitor Intelligence Workflow:
1. User provides the username of a competitor.
2. The workflow finds all public lists the competitor owns or is a member of.
3. Hatz AI analyzes the list names to identify their strategic focus areas, key partners, or target communities.
4. Presents a summary of these communities for strategic insight.

3. User & Profile Management

Use Case

Description

Chat Prompt Example

Workflow for Automation

Quick User Lookup

Get an instant, AI-generated summary of any public X user to inform your engagement strategy.

Give me a profile summary of @OpenAI. What are their main topics of discussion?

Meeting Prep Workflow:
1. User provides a list of usernames for people they are meeting.
2. The workflow looks up each user's profile.
3. Hatz AI summarizes their recent posts, bio, and interests into a concise brief for each person.
4. Presents a consolidated report to the user for quick pre-meeting research.

Interaction Housekeeping

Review and manage the accounts you have blocked or muted to ensure your feed and interactions remain positive and productive.

Show me a list of all the accounts I have currently muted.

Mute List Cleanup Workflow:
1. Fetches the complete list of muted accounts.
2. For each muted account, it retrieves their profile information.
3. Hatz AI provides a summary, allowing the user to quickly review and decide if they want to unmute any accounts (e.g., an account that is no longer noisy).

4. Direct Message (DM) Management

Use Case

Description

Chat Prompt Example

Workflow for Automation

Proactive Customer Support

Check for recent DM activity to ensure timely responses to customer inquiries or support requests.

Show me my recent DM events. Have I received any new messages in the last hour?

DM Inquiry Triage Workflow:
1. Fetches the 10 most recent DM events (new messages).
2. Hatz AI scans the message content for keywords like "help," "question," or "issue."
3. It flags messages that appear to be urgent customer service inquiries.
4. Presents a prioritized list of DMs that require immediate attention.

Start Group Conversations

Initiate a group DM with multiple users at once to coordinate a project, event, or collaborative effort.

Create a new group DM with @UserA and @UserB and send the message: "Hi team, let's use this chat for our Q4 planning."

New Project Kick-off Workflow:
1. Prompts the user for a list of team member usernames.
2. Asks for a kick-off message.
3. The workflow creates a new group DM conversation with all specified members.
4. It sends the kick-off message to start the conversation.

Did this answer your question?