Search X Posts

Search for posts on X by keyword in a MindStudio workflow

Configuration

Search Query

Enter the text or keyword phrase you want to search for. You can include variables (e.g., {{user_input}}) to make the query dynamic.

Example: "fact checking"

{{topic}} AND ("AI" OR "machine learning")

Note: You may include X advanced search operators.


Max Results

Set the maximum number of posts to retrieve. This can range from 10 to 100. Use the slider or type in a number.


After Date (Optional)

Return only posts made after a specific date/time. Accepts relative expressions using {{dateSubtract}}, {{currentDate}}, or static ISO timestamps.

Example:

{{dateSubtract currentDate 3 "days"}}

This would fetch posts from the last 3 days.


Before Date (Optional)

Return only posts made before a specific date/time. Use ISO format (YYYY-MM-DD HH:mm:ss).

Example:

2025-07-01 00:00:00


Output Variable

Specify the variable name where the results will be saved. This variable can be used in later blocks.

Example:

genAIReporting or Xpost_results

Sample Output

Last updated