Automations
Create Automation
Create a new engagement-triggered automation
POST
Documentation Index
Fetch the complete documentation index at: https://www.ayrshare.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Beta. See the Automations Overview for the full feature description, including the Beta status.
accountId in the body; the request will be rejected as a validation error if you do. Pass a profileKey header to operate under a child profile.
Header Parameters
Body Parameters
Target platform. Only
instagram is supported in v1.Short human-readable name. Used in the dashboard and activity logs.
Optional longer description.
One or more triggers (1–50). Each entry is a discriminated union on
type. See Overview / Triggers for the full catalog.comment_keyword trigger
story_reply trigger
dm_reaction trigger
dm_keyword trigger
One or more actions (1–50). Each entry is a discriminated union on
type. See Overview / Actions for the full catalog. Every action also accepts an optional top-level dedupWindowMinutes overriding the default 7-day per-recipient dedup window (0 to disable, max 525600).send_dm action
fire_webhook action
send_email action
Action with per-action dedup override
Platform compatibility. Each trigger and action declares which platforms it supports. The validator rejects the request when an entry’s
type is not supported on the requested platform. All triggers and send_dm are currently Instagram-only; fire_webhook and send_email are platform-agnostic.