Create a new incoming or outgoing automation via the API. Define the name, type, trigger conditions, and action destination in a single request.
You can create incoming and outgoing automations directly through the API rather than navigating the Stairoids UI. This is especially useful when provisioning automations programmatically for multiple workspaces, deploying automation configs from version control, or building internal tooling that manages your GTM workflow. A new automation is inactive by default — you control exactly when it goes live.
Set enabled: false at creation to keep the automation paused while you validate trigger conditions and action mappings. Update it to enabled: true once you are confident it behaves as expected.
A human-readable label for the automation. Use something descriptive enough to identify its purpose at a glance — for example, "Flag High-Intent Pricing Visits for SDR Outreach".
The direction of data flow. Use incoming for automations that ingest signals into Stairoids from external sources, or outgoing for automations that push enriched signal data to downstream tools when a trigger fires.
Set to true to activate the automation immediately upon creation. Defaults to false, leaving the automation in a paused state so you can test it first.
Destination-specific configuration. For example, a HubSpot action config might include pipeline_id, stage_id, and owner_id. A webhook action config requires a url and optionally headers.