You’ll need an API key (see Authentication) and Five9 admin credentials. Export both:
Find your action in the catalog
The catalog is the public registry of platforms, services, and actions you can use in flows. No authentication required. Start from the platform and drill down:The last call lists actions like:Each action’s
parameters describe what a task must pass, and output_schema describes what it returns. This flow uses two actions: five9__configuration_service__create_list and five9__configuration_service__add_to_list.Create a connection
A connection stores the credentials a task uses to reach an external platform. Create one for the Five9 Configuration Service:The response is the created connection — note its Verify the stored credentials actually work before building on them:A passing test returns
id:{"success": true, ...} with the measured latency. A failing one returns success: false and an error code such as AUTH_FAILED — fix the credentials before continuing.Author the definition
A flow definition declares inputs, then steps that run in order. Each step contains one or more tasks; every task names the catalog action it runs (Two kinds of expression are doing the work here:
Chaining follows the pattern
platform_id, service_id, action_id) and the connection it runs with.This definition has two steps. Step 1 creates a Five9 list named after the trigger input. Step 2 adds a contact to it — and gets the list name from step 1’s output, not from the input:| Expression | Resolves to |
|---|---|
{{input.list_name}} | The list_name field of the trigger’s input_data |
{{create_list.output.list_name}} | The list_name field of the create_list step’s output |
{{<step_id>.<task_id>.output.<field>}}. When a step has exactly one task, the shorthand {{<step_id>.output.<field>}} also works — that’s what’s used above. See Expressions for the full context reference.Expressions are validated when you create or update a definition — a malformed one is rejected immediately with a 422 and an expression_errors list, so you never discover a typo at runtime.The response includes the new definition’s id (e.g. def_a1b2c3d4).Activate it
Only definitions with
"status": "active" can be triggered. The example above sets that at creation, so you’re done.If you’d rather iterate on a draft first, omit status (new definitions default to draft) and activate later with PUT /definitions/{id} — a full replacement, so resend the whole body with "status": "active".Trigger it
input_data object, so it produces one execution. To fan the same flow out over many records at once, see Trigger with records.Inspect the results
Follow the job until its status reaches Then list its executions and fetch the one execution’s full detail:The execution’s On failure,
completed:result is keyed by step_id, so you can see exactly what each step produced — including the list_name that step 2 consumed:status is failed and error carries the message. See Jobs and executions for the full lifecycle.Next steps
Trigger with records
Run this flow once per row of a contact file.
Expressions
The full expression context: inputs, variables, step outputs, defaults.
Execution models
Run tasks immediately, on a schedule, in a time window, or on a signal.
Templates
Start from a pre-built definition instead of a blank page.