Gen6

X

Interact with X

X (formerly Twitter) is a popular social media platform that enables real-time communication, content sharing, and engagement with audiences worldwide.

The X integration in Gen6 leverages OAuth authentication to securely connect with the X API, allowing your agents to interact with the platform programmatically. This OAuth implementation ensures secure access to X's features while maintaining user privacy and security.

With the X integration, your agents can:

  • Post content: Create new tweets, reply to existing conversations, or share media directly from your workflows
  • Monitor conversations: Track mentions, keywords, or specific accounts to stay informed about relevant discussions
  • Engage with audiences: Automatically respond to mentions, direct messages, or specific triggers
  • Analyze trends: Gather insights from trending topics, hashtags, or user engagement patterns
  • Research information: Search for specific content, user profiles, or conversations to inform agent decisions

By connecting Gen6 with X via OAuth, you can build intelligent agents that maintain a consistent and responsive social media presence while adhering to platform policies and API best practices.

Usage Instructions

Connect with X to post tweets, read content, search for information, and access user profiles. Integrate social media capabilities into your workflow with comprehensive X platform access.

Tools

x_write

Post new tweets, reply to tweets, or create polls on X (Twitter)

Input

ParameterTypeRequiredDescription
accessTokenstringYesX OAuth access token
textstringYesThe text content of your tweet
replyTostringNoID of the tweet to reply to
mediaIdsarrayNoArray of media IDs to attach to the tweet
pollobjectNoPoll configuration for the tweet

Output

ParameterTypeDescription
tweetjsonTweet data
repliesanyTweet replies
contextanyTweet context
tweetsjsonTweets data
includesanyAdditional data
metajsonResponse metadata
userjsonUser profile data
recentTweetsanyRecent tweets data

Screenshot

x Working SS

x_read

Read tweet details, including replies and conversation context

Input

ParameterTypeRequiredDescription
accessTokenstringYesX OAuth access token
tweetIdstringYesID of the tweet to read
includeRepliesbooleanNoWhether to include replies to the tweet

Output

ParameterTypeDescription
tweetjsonTweet data
repliesanyTweet replies
contextanyTweet context
tweetsjsonTweets data
includesanyAdditional data
metajsonResponse metadata
userjsonUser profile data
recentTweetsanyRecent tweets data

Screenshot

x Working SS

Search for tweets using keywords, hashtags, or advanced queries

Input

ParameterTypeRequiredDescription
accessTokenstringYesX OAuth access token
querystringYesSearch query (supports X search operators)
maxResultsnumberNoMaximum number of results to return (default: 10, max: 100)
startTimestringNoStart time for search (ISO 8601 format)
endTimestringNoEnd time for search (ISO 8601 format)
sortOrderstringNoSort order for results (recency or relevancy)

Output

ParameterTypeDescription
tweetjsonTweet data
repliesanyTweet replies
contextanyTweet context
tweetsjsonTweets data
includesanyAdditional data
metajsonResponse metadata
userjsonUser profile data
recentTweetsanyRecent tweets data

Screenshot

x Working SS

x_user

Get user profile information

Input

ParameterTypeRequiredDescription
accessTokenstringYesX OAuth access token
usernamestringYesUsername to look up (without @ symbol)

Output

ParameterTypeDescription
tweetjsonTweet data
repliesanyTweet replies
contextanyTweet context
tweetsjsonTweets data
includesanyAdditional data
metajsonResponse metadata
userjsonUser profile data
recentTweetsanyRecent tweets data

Screenshot

x Working SS

Notes

  • Category: tools
  • Type: x
X