Workflows and automations

A workflow runs steps by itself when something happens, like a new session, a resolved ticket or a breached SLA. You pick a trigger, add actions and conditions on a canvas, test the workflow on a real session, then activate it. Companion can build one from a plain description. This article is for admins and team leads who automate routine work.

Create a workflow

  1. In the sidebar, click Agentic Workflows, then New workflow.
  2. Under Build it with Companion, describe what should happen, for example “Send upset customers to a person”, and press Enter. Companion assembles the trigger, conditions and actions.
  3. Or click or build it yourself to start from an empty canvas.
  4. Give it a Workflow name and click Save. Each save creates a new version.

Add a trigger and steps

  1. Click Add a trigger and pick what starts the workflow. Examples: Ticket Created, Ticket Resolved, Ticket Handed Off, Tag Added to Ticket, Contact Message Received, CSAT Score Submit, SLA First Reply Breached, Cron Trigger, Webhook, Form Submit or Manual Ticket Trigger.
  2. Click Add a step and use Find a step… to search the catalogue. Actions include Tag Ticket, Assign Ticket to Support Team, Handoff to Human Agent, Respond with AI, Ask AI, Apply SLA, Send CSAT Request, Send Webhook, Make HTTP request and Wait.
  3. Add an If Block to go one way or another depending on a condition (Then / Else).
  4. Click a step to set its input. To reference earlier data, pick it from the earlier steps' output.
  5. Add a Note to explain the workflow to your team.

If something is missing, saving shows Validation Issues Found; click Fix next to each issue.

Test and activate

  1. Click Test, then Select a session to run the workflow against. A test run performs the real actions, so pick a session you can use for testing.
  2. Open Runs to see each step's input, output and whether it took the then or else branch.
  3. Click Activate Workflow and confirm. Activating a new version stops the one running before.
  4. To stop it, click Deactivate Workflow.

Manage workflows

  • Version history lists every saved version, newest first. Select one to view it.
  • Discard draft drops unsaved changes.
  • From the workflow list, use Duplicate workflow or Delete workflow.
  • Use Ask Companion to edit this workflow to change it in plain language.

Good to know

  • Steps for another tool (Slack, Zendesk, HubSpot, Salesforce, WhatsApp templates, email templates) need that tool connected first. If it is not, the step fails with a message telling you where to connect it.
  • Some steps in the catalogue are not supported on the server yet, for example outbound phone calls and some vendor steps. They fail with a clear message.
  • HTTP and webhook steps cannot reach private network addresses.
  • You need the workflows permission to see Agentic Workflows.

Related