Inputs
SelectItem
Output
Type:Dict
Returns X’s confirmation that the preview was sent.
Fields: dynamic (depend on the inputs)Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Sends a preview of an X Ads draft post to a user, who receives it in the X app on their device for review
| App | X Ads |
| Operation ID | x_ads_preview_draft_post |
| Type | Action |
| Connection | x_ads (required) |
| Credits per run | 1 |
| Agent / MCP tool | Yes |
| Requires approval | Yes (write operation) |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
account | DynamicAccount | Yes | - | Select the X Ads account that owns the draft post. |
draft_post_id | string or SelectItem | Yes | - | Draft post ID to preview. |
user_id | string or SelectItem | Yes | - | X user id to send the preview notification to. They receive the draft in the X app on their device. |
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
value | string | Yes | - | The value of the selectable item. |
label | string | Yes | - | The label of the selectable item, used for display purposes. If not provided, defaults to the value. |
Dict
Returns X’s confirmation that the preview was sent.
Fields: dynamic (depend on the inputs)