preview_ai_dm
Try an AI DM brief before publishing it: what would the AI actually say to this follower message? Nothing is sent to Instagram and nothing is saved.
Pass the brief (ai_goal, ai_context, ai_exit_condition, ai_tone, ai_link —
the same fields create_automation takes) and transcript, the conversation
so far as [{role: "user"|"assistant", text}], ending with the follower's
message to answer. To see a longer exchange, add the AI's reply as an
"assistant" turn plus the follower's next message and call again. It runs the
same model call the live automation does, so the answer is representative —
but it varies from run to run.
Uses a Gemini call each time, so it is limited to 30 per 10 minutes and needs a
plan with AI DM replies. respond=false means the inquiry filter would stay
quiet on a first message like this one.
disclosure is the AI-assistant notice the follower gets as its own message
just before the AI's first reply in a thread — "This is an automated reply
from @handle's AI assistant. A real person sees your messages too." It is
sent automatically, once per thread, and cannot be turned off, so show it to
the user along with reply; it is empty when the transcript already holds an
assistant turn.
The transcript is sent to Google Gemini to write the reply (see reeldrop.io/privacy).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_id": "<workspace_id>",
"ai_goal": "<ai_goal>",
"transcript": "<transcript>"
},
"name": "preview_ai_dm"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ai_goal | Yes | ||
| ai_link | No | ||
| ai_tone | No | friendly | |
| ai_context | No | ||
| transcript | Yes | ||
| workspace_id | Yes | ||
| ai_exit_condition | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| done | Yes | ||
| reply | Yes | ||
| respond | No | ||
| disclosure | No |