Skip to content
dimmiDocs

Workflows and integrations

Workflows and integrations API

Build, test, and run visual workflows, inspect connected support channels, and manage external integration installations via the dimmi REST API.

How workflows workAutomate routing, tagging, SLA updates, and HTTP requests without code.

Channels

2 endpoints

Integration installations

3 endpoints

Integration providers

1 endpoint

Integrations

3 endpoints

Workflows

20 endpoints
GETList workflows/workflowsLists the workflows in priority order: when several want the same conversation, the first wins. Each runs on a trigger, such as a first message or an SLA...GETList a workflow's runs/workflows/{workflow}/runsLists a workflow's recent runs with the steps each took, to see why it did what it did. Returns the runs, newest first, each with its trigger, status...GETList a workflow's failed runs/workflows/{workflow}/failuresLists the runs of a workflow where a step failed, newest first, each with its conversation. Returns the failed runs with the first failing step...GETList a workflow's versions/workflows/{workflow}/versionsGET /workflows/{workflow}/versions: Lists every published version of a workflow, newest first. Returns the versions with their number, note, who published...GETList a workflow's simulations/workflows/{workflow}/simulationsLists the workflow's saved simulations and how each has gone lately. Returns the simulations with their messages, checks, last result and recent history.GETList a workflow simulation's past runs/workflows/{workflow}/simulations/{simulation}/runsGET /workflows/{workflow}/simulations/{simulation}/runs: Lists the latest runs of one simulation, newest first. Returns the runs with their verdict and when...POSTCreate a workflow/workflowsCreates a draft workflow at the end of the list, from a trigger or a whole definition. The trigger never changes later. Nothing runs until it is published.POSTUnarchive a workflow/workflows/{workflow}/unarchivePOST /workflows/{workflow}/unarchive: Brings an archived workflow back at the end of the list. One that was live comes back paused. Returns the workflow.POSTSave a workflow simulation/workflows/{workflow}/simulationsSaves a conversation the workflow must keep handling right: who the customer is, what they write, and the checks on the steps and paths it takes.POSTPublish a workflow/workflows/{workflow}/publicationsFreezes the working copy as a new version and makes it live: new events run it for real customers, while conversations already running keep their version.POSTRun a workflow's simulations/workflows/{workflow}/simulations/runReplays the workflow's saved simulations against its draft or live version, with nothing sent and no action run. A simulated customer taps buttons...POSTSave a conversation as a workflow simulation/workflows/{workflow}/simulations/from-conversationPOST /workflows/{workflow}/simulations/from-conversation: Turns a real conversation into a simulation of the workflow. Returns the saved simulation.GETGet a workflow/workflows/{workflow}Reads one workflow with its working copy and the report of problems that would block publishing. Returns the workflow with its spec, report, lock_version...GETGet a workflow's analytics/workflows/{workflow}/metricsReads a workflow's numbers over a range: runs started, completed, handed over and failed, its goal, each day, and each step's reached, waiting, failed...GETGet a workflow simulation/workflows/{workflow}/simulations/{simulation}Reads one saved simulation of a workflow, with its last result step by step. Returns the simulation with its scenario, messages, checks and last result.PATCHChange a workflow/workflows/{workflow}Saves the working copy, which never changes what runs; or sets status live or paused; or restores a version, published at once with publish=true.PATCHEdit a workflow simulation/workflows/{workflow}/simulations/{simulation}PATCH /workflows/{workflow}/simulations/{simulation}: Changes a saved simulation's name, scenario, messages, customer or checks. Returns the simulation...DELETEArchive a workflow/workflows/{workflow}Archives a workflow: it stops matching at once and leaves the list. Its versions stay, and POST /workflows/{workflow}/unarchive brings it back.DELETEDelete a workflow simulation/workflows/{workflow}/simulations/{simulation}DELETE /workflows/{workflow}/simulations/{simulation}: Deletes a saved simulation and its past runs. Returns nothing. dimmi REST API reference.PATCHReorder workflows/workflowsSets the priority order of the workflows; the first wins when several want a conversation, so this changes what live workflows do. Returns the workflows...