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 endpointsGETList a Slack connection's channels
/channels/{channel}/roomsLists the Slack channels a connection watches, removed ones included, with who counts as the customer in each and when a message becomes a conversation.PATCHChange a Slack channel's handling/channels/{channel}/rooms/{room}Changes who counts as the customer in one Slack channel, when a message there becomes a conversation, and how the agent answers. Only what is sent changes...Integration installations
3 endpointsGETSearch a tool's issues
/integration-installations/{installation}/issuesGET /integration-installations/{installation}/issues: Finds issues or incidents to link by words or key. Returns issues with key, URL, title and status.GETGet a tool's sync settings/integration-installations/{installation}/issue-settingsGET /integration-installations/{installation}/issue-settings: Reads how a tool's statuses map to ticket states, its defaults and where it delivers.PATCHUpdate a tool's sync settings/integration-installations/{installation}/issue-settingsMaps a tool's status ids to ticket states and sets defaults, the deployment that proves a fix shipped and the signing secret of a key-connected tool.Integration providers
1 endpointIntegrations
3 endpointsGETList integrations
/integrationsLists the tools the workspace connected and the health of each. Returns every installation with its provider, status, scopes, what uses it and the person's...GETGet an integration/integrations/{integration}Reads one connected tool: its health, scopes, the scopes features still miss and what uses it. Returns the installation with its features, channel_ids...DELETEDisconnect an integration/integrations/{integration}Disconnects a tool: its tokens are given back and wiped, every teammate's grant on it is revoked, and the channels and destinations using it stop at once.Workflows
20 endpointsGETList 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...