Create automation
Create an automation workflow: a trigger (record created/updated, event, segment enter/exit, schedule, manual), optional per-record filter conditions, and ordered capability action steps. Created paused unless enabled=true.
Required scopes: config:write. May need confirmation, depending on the input: then send "approved": true, or it answers 409 APPROVAL_REQUIRED.
bearerAuthAuthorizationBearer <token>An API key (flito_pat_…) from Settings, API & AI connections.
application/json- body
input*idempotencyKey?stringSend the same key to retry safely: the second call returns the first result.
length <= 255approved?booleanConfirms an action that needs approval (sending, deleting and the like).
The capability ran.
application/json- response
result*unknownThe capability’s output.
commitId?|The config commit, for versioned records.
eventId?string|nullidempotentReplay?booleanTrue when this answer is a replay of an earlier call.
curl -X POST 'https://crm.yourcompany.com/api/cap/workflow.create' \ -H 'Content-Type: application/json' \ -d '{ "input": { "name": "string", "trigger": { "type": "record_created" } }}'{ "result": null, "commitId": "string", "eventId": "string", "idempotentReplay": true}Was this page useful?
Activate automation POST
Activate an automation workflow (it starts firing from now — no historical replay). Required scopes: config:write. Needs confirmation: with an API key, send "approved": true beside the input, or it answers 409 APPROVAL_REQUIRED.
Default alerts POST
The default alerts (New deal, New contact): what each does and whether it is switched on. Required scopes: config:read. Read only.