Building workflows – Assembled

Prep work: Identifying automations

This article assumes that you already have an idea of what workflow you would like to build into an automation. Please reach out to your point of contact on Assembled’s AI Deployments team if you need additional resources on how to identify good candidates for workflow automations!

Step 0: Navigate to the Workflows page

Within Assembled, use the left navigation bar to click to the AI support tab and select Workflows. This page is where you will view and manage all the automations you've already built, and their respective activation statuses.

To create a new automation, click on the blue Create workflow button on the top right of the page. You will be redirected to the automation workflow builder page.

Step 1: Create the workflow

When you click the Create workflow button, you'll be taken directly to the workflow builder interface. This is where you'll define your workflow's selection criteria and build out the action steps.

The workflow builder has a visual interface showing workflow steps connected by lines, with a plus (+) button to add new steps. At the top of the screen, you'll see options for:

Step 1A: Define the trigger criteria

The first step in creating a workflow is to configure the trigger. When you click on the trigger step labeled "Start of workflow”, a panel opens on the right side where you can define your workflow's selection criteria.

When setting up your trigger, you’ll specify the:

Once you've completed the trigger configuration, click ‘Update step’ to return to the main workflow builder view. Always remember to click Save changes after making any edits to the automation.

Step 1B: Build out the steps

Once your trigger criteria is complete, you can start building your workflow by adding steps. Click the "+" button that appears after the trigger to add a new step. When you click the "+" button and Add step, a panel appears showing different categories of steps you can configure.

We currently support the following steps:

Condition Steps

Condition

This step allows you to create branching logic in your workflow based on evaluated conditions:

Example use case: Route cases with negative sentiment to one path and positive/neutral sentiment to another path.

Lookup Steps

Analyze case

This step extracts information from the customer's message as variables:

Example use case: Analyze sentiment as "positive," "neutral," or "negative" to route frustrated customers to tailored replies or specific workflow paths.

Zendesk data lookup

This step imports data from Zendesk as variables into your workflow:

Example use case: Pull the customer's organization information to personalize responses or route to specialized teams.

Google sheets CSV lookup

This step allows you to access data from Google Sheets:

The sheet must follow these requirements:

Custom API lookup

This step retrieves data from external systems through API calls:

This is particularly useful for retrieving customer data from CRMs, product information from catalogs, or any external system data needed to process the ticket effectively. Note: To configure your API endpoints, go to Setup in the left-hand navigation, then select Integrations > API Endpoints.

Reply Steps

Reply

This step allows Cal to compose and send customer-facing responses:

For Cal-generated responses, you can:

Collect information

This step enables Cal to interact with customers to gather specific details:

Intelligent information gathering:

This is particularly useful for gathering customer details - like order numbers, account info, or preferences - that can’t be retrieved automatically, in a way that feels natural and conversational.

Action Steps

Zendesk update ticket

This step modifies ticket fields and statuses in Zendesk without sending a customer response:

This is useful for routing tickets to specialized teams, updating ticket status after automated responses, or adding tags for reporting and analytics purposes.

Zendesk leave internal note

This step adds private comments visible only to your support team:

Example use case: After analyzing a complex billing issue that requires manual review, Cal might add an internal note explaining what was found, what API data was retrieved, and recommendations for how the agent should proceed.

Custom API action

This step triggers actions in external systems:

Example use case: After collecting confirmation from a customer about canceling an order, trigger an API call to your order management system to process the cancellation, then respond to the customer differently based on whether the API call was successful.

Configuring each step

When you add a step, a configuration panel opens on the right where you can:

  1. Input the step name (optional)
  2. Configure the specific parameters for that step type
  3. Click "Update step" to save your step

As you build more complex workflows, you can create branching paths with conditions and connect multiple steps together to handle different scenarios.

Best practices for building workflows

Step 2: Preview and test the workflow

Once you've built your workflow, you should test it using the Preview function before activating it. This allows you to see exactly how your workflow will behave with real or simulated tickets.

Using the Preview panel

Click the Preview button at the top of the workflow builder to open the preview panel. From there, you can either:

Note: API execute actions won’t run in preview mode. To test these, you’ll need to manually select the output variables and provide sample values in the preview workflow panel.

Understanding Preview results

When you run a preview, you'll see a detailed breakdown of how your workflow processes the ticket:

Step 3: Activate the workflow

Once testing is complete, you'll need to activate your workflow. Click the Manage activation button at the top of the workflow builder to configure activation settings.

To allow for maximum comfort and control, we've provided multiple levels of activation that let you gradually increase automation as your confidence in the workflow grows.

Activation settings

The Manage activation settings let you control how Cal handles interactions for each workflow across different channels:

After configuring your activation settings, click "Update activation" to apply the changes.

Activation recommendations

Here are our recommendations for when to use which level of activation:

Step 4: Review live responses

Once activated, the automation will run on any matching incoming cases. You can track its performance and see which cases it has run on in the QA review page under the Quality tab.

This page is useful for monitoring the execution and quality of this automation on actual incoming cases and keep track of which cases this automation has run on since being activated.