Skip to content

AI Agents

How to schedule a reliable AI agent follow-up

Schedule a support follow-up with the SendMQ Jobs API or workspace MCP and let your app decide at delivery time whether to send it.

By SendMQ 1 min read

How does a scheduled AI agent follow-up work?

An agent can schedule a future HTTP request with SendMQ by submitting a job with run_at, agent_action, and an Idempotency-Key. Include an identifier such as the support ticket ID so your handler can load current context when the request arrives.

For example, an agent schedules a reminder after asking a customer for more information. When the request arrives, your app checks the ticket. It sends the reminder if a reply is still needed or skips it if the customer already replied.

How do you report a sent or skipped outcome?

Use X-SendMQ-Job-Id as the action identifier and persist the outcome so a retry can return the original result. Send X-SendMQ-Action-Outcome: sent or skipped on a successful HTTP response. For a skip, you can also return an action reason such as customer_replied.

Successful response when the customer has replied
HTTP/1.1 204 No Content
X-SendMQ-Action-Outcome: skipped
X-SendMQ-Action-Reason: customer_replied

Where can you inspect a follow-up?

Open Agent Actions in the console to see the scheduled time, delivery attempts, and the outcome your handler reported. A successful HTTP response without a recognized outcome shows that the request reached the endpoint and leaves the business outcome unreported.

See the Jobs API and MCP follow-up examples