Skip to main content

X Marketing

X Marketing lets you review people who responded to your posts, identify who needs a reply, and manage prospects. It can also track your own posts for a selected period and show changes in impressions and engagement.

The main reactions currently collected automatically are:

  • Likes on your posts
  • Mentions and replies addressed to your account

When Post Analytics is enabled, Torai also saves your posts from the selected period and the metrics that the X API makes available.

The data is saved in your Google Sheet. Torai never automatically likes, follows, or replies to users.

info

The screenshots on this page show the real Torai interface populated with sample data for documentation. Your accounts, posts, responders, counts, and costs will differ.

danger

By default, X Marketing collects data once a day while tracking your posts for seven days. You can change the tracking period to 1, 7, 14, or 30 days.

It collects two different types of data:

  • Responders
  • Post analytics

The two features retrieve different data and make different API calls. Enabling either feature may incur X API read charges.

The amount shown in Torai is an estimated charge for data reads only. It does not include the cost of publishing posts.

X Marketing Response Inbox

Before you start

Confirm that:

  • The latest Apps Script code is in your Google Sheet
  • The Apps Script web app has been updated or redeployed
  • Your X account and four API credentials are registered in Torai
  • The X Developer Console has available credit
  • Your account can perform X API reads

If a registered account does not appear, see Manage X Accounts first.

1. Open X Marketing

Open X Marketing from Torai's left menu.

Open X Marketing

You can switch between three pages:

  • Response Inbox: Review reactions and decide who to respond to first.
  • Responder CRM: Manage each responder's stage, tags, and memo.
  • Post Analytics: Review impressions, engagement, and daily trends for your own posts.

At the top of the page, choose All accounts or a specific X account. Switching accounts immediately filters data that has already been collected.

2. Configure data collection

Click Collection Settings in the upper-right corner.

X Marketing Collection Settings

SettingDescription
Enable responder collectionOnce per day, collect likes on your posts and mentions or replies addressed to your account.
Enable post analyticsCollect your own post metrics and save the latest value for each post plus a daily snapshot.
Tracking periodChoose 1, 7, 14, or 30 days.
Posts per accountNumber of your own posts checked in one collection run. Set from 1 to 100.
Responders per postNumber of responders collected from one post. Set from 1 to 100.
Monthly budget limit for all accounts (USD)Monthly total limit for X Marketing analytics across all accounts. Set from $1 to $1,000.

Click Save Settings after entering the values.

Save X Marketing settings

Responder collection and Post Analytics can be turned on or off independently.

GoalResponder collectionPost Analytics
Use only Response Inbox and Responder CRMONOFF
Use only Post AnalyticsOFFON
Use bothONON
Stop scheduled X Marketing collectionOFFOFF

When either feature is on, Torai creates one daily X Marketing trigger. When both are off, it removes that trigger. This does not affect the trigger used for automated posting.

Turning off Post Analytics does not delete saved analytics data. The Post Analytics page displays a stopped message and the last saved data.

caution

The budget limit is a guideline used by Torai to stop analytics collection. It does not set an X Developer Console billing or credit limit.

If the limit is reached during a collection run, Torai's estimate may exceed it slightly. Always use the X Developer Console as the authoritative source for actual usage and charges.

Even when Post Analytics is off, responder collection reads your own posts to determine which posts should be checked. To stop all scheduled X API reads by X Marketing, turn both switches off.

Collect the latest data manually

To check data immediately after setup, click Refresh Now in the upper-right corner.

Refresh latest data

Refresh Now processes every registered X account. It may take time when you have many accounts or posts. Do not click the button repeatedly while it is running; wait for the completion notification.

3. Check the cost display

The top of Response Inbox, Responder CRM, and Post Analytics shows:

Estimated X API cost

  • This month's estimated cost across all accounts
  • Your configured monthly budget limit
  • Estimated cost for the selected account
  • Last synchronization date and time

When the progress bar approaches the limit, shorten the tracking period, reduce the number of posts or responders collected, or turn off collection you do not need.

info

Torai estimates costs from the number of resources collected. X may change prices or counting methods, so the estimate may not match your bill.

4. Use the Response Inbox

The Response Inbox lists collected reactions.

Response Inbox

Review the summary

For the selected account, the top of the page shows:

Response Inbox summary

  • Unhandled
  • High priority
  • New responders
  • Estimated cost this month

Use the tabs above the list to filter by All, Questions, Quotes, Likes, and other types. The available types depend on what is currently collected and saved.

Review priority

Each responder has a lead score and a High, Medium, or Low label:

  • 75 or higher: High
  • 50–74: Medium
  • 49 or lower: Low

Response Inbox priority

The score is a Torai guideline for ordering responses. Review the person's intent and post before making the final decision yourself.

Review details and create an AI reply draft

Response details

Select a responder to display:

  • Display name and username
  • Reaction and related post
  • Engagement history
  • Priority explanation
  • AI reply-draft area

Click Create Reply with AI and Gemini generates one draft based on the selected reaction. Torai does not display an automatic template.

To use AI replies, register a Gemini API key under Profile > API Keys. If it is missing, Torai displays Gemini API key is not registered. See Set Up a Gemini API Key.

You can edit the generated reply on the page. Click Copy Reply Draft to copy the current text to the clipboard. Click Generate Again with AI to create a new draft.

caution

AI output may be inaccurate or unsuitable for the conversation. Always review and edit it before pasting it into X.

5. Use “Check on X”

Click Check on X to display a confirmation of the X account you should use. After confirmation, the related post or profile opens in another browser tab.

caution

The new tab uses the X account currently signed in to your browser. It does not automatically switch to the account selected in Torai.

Before replying or taking action on X, confirm that the account shown in Torai's confirmation and the account currently selected on X are the same.

Confirm the X account

If the browser still has an active X session, you normally do not need to sign in each time. If you signed out or the session expired, X displays its sign-in page.

6. Use Responder CRM

Open Responder CRM from the left menu.

Responder CRM

Manage responders in four stages:

  1. New response
  2. Interested
  3. In conversation
  4. Completed

Select a responder card to edit:

  • Stage: Choose the current response status.
  • Topics of interest: Register up to ten custom tags.
  • Memo: Record the response or next action in up to 500 characters.

After editing, click Record Response. Saving records the reaction as handled.

Click View Profile to open the person's X profile in another tab.

caution

Responder CRM does not make Torai automatically like, follow, or reply. Before taking action on X, review the content and confirm the account you are using.

7. Use Post Analytics

Open Post Analytics under X Marketing in the left menu.

Post Analytics

Post Analytics shows metrics available from the X API for your posts within the configured tracking period. Data updates when you click Refresh Now or the next daily collection finishes.

Check collection-status badges

Two badges appear next to the Post Analytics title:

Post Analytics badges

  • Responder collection ON/OFF
  • Post Analytics ON/OFF

ON is green and OFF is gray. After you save collection settings and the page reloads, the badges reflect the saved state.

If Post Analytics is off but saved data exists, the page says Post Analytics is stopped and continues to display the last saved results.

Review totals

The top of the page shows four values for the selected account:

Post Analytics totals

ItemDescription
Tracked postsNumber of eligible posts within the tracking period
ImpressionsTotal impressions for tracked posts
EngagementsTotal engagements returned by the X API
Engagement rateEngagements ÷ impressions × 100

If impressions are not available under your X API permissions or response data, Torai displays rather than an estimate.

Read the daily trend chart

Daily Trend shows totals for tracked posts at each day's collection time.

Daily trend chart

  • Blue line: Impressions
  • Purple bars: Engagements
  • Day-over-day badge: Displayed when impressions are available for the two most recent days

Point to a dot or bar to see its date and value. For a 30-day tracking period or other wide data sets, scroll the chart horizontally.

The Daily Values table below the chart shows the exact post count, impressions, engagements, engagement rate, likes, replies, and reposts.

Review the latest metrics by post

Latest Values by Post shows:

Latest metrics by post

  • Post text and account
  • Publication date
  • Impressions
  • Engagement rate
  • Likes, replies, reposts, and quotes
  • Bookmarks
  • Profile clicks
  • URL clicks

Metrics that are not available under your permissions display . Click the X icon at the right to open the post in another browser tab.

info

Post Analytics displays only values returned by the X API. It does not estimate unavailable impressions or clicks from public reaction counts.

8. Storage and data limits

X Marketing data is stored in your connected Google Sheet.

X Marketing sheets

SheetStored data
XMarketingInteractionsResponders, related posts, scores, stages, tags, memos, and more
XMarketingPostsLatest metrics for each tracked post
XMarketingPostDailyDaily snapshot for each post
XMarketingRunsCollection time, account, resources collected, estimated cost, result, and more

For stable operation, Torai stores the 2,000 most recent responder records and up to 2,000 latest post-metric records. The Torai UI receives up to 1,000 responder records and 1,000 analytics records at a time.

Daily snapshots are limited to 20,000 records and about 32 days. If the same post is collected several times on one day, Torai updates that day's snapshot with the latest value. Older records beyond the storage limit or retention period are removed during the next collection and save.

Turning off responder collection or Post Analytics does not delete saved data.

caution

Changing column names or values directly in the sheet may make the data unreadable to Torai. You can inspect or copy it for backups, but normally make edits through the Torai UI.

9. If data does not appear

Check these items in order:

  1. The required feature is on in Collection Settings
  2. Refresh Now completes and shows a notification
  3. The Responder Collection and Post Analytics badges show the expected states
  4. The X account is registered correctly
  5. Your own posts or mentions exist within the tracking period
  6. X Developer Console credit and Usage have no issues
  7. The latest Apps Script is saved and the web app is updated
  8. If Apps Script was redeployed, Torai's GAS URL has been updated to the new web app URL
  9. The monthly budget limit has not been reached

If only one account fails, check its four API credentials and X Developer Console permissions.

Use X Marketing safely

  • Do not decide how to respond using only an AI reply or lead score. Review the original post and profile.
  • Before taking action on X, confirm the account currently selected there.
  • Regularly compare Torai's estimated X API cost with actual X Developer Console usage.
  • Your spreadsheet stores usernames, reactions, response memos, post text, and metrics. Restrict sharing appropriately.
  • Do not use X Marketing for solicitation, harassment, automated high-volume responses, or any activity that violates X rules or applicable laws.