Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.diga.io/llms.txt

Use this file to discover all available pages before exploring further.

Why Assign Workflows?

Workflows with Diga triggers (Call Finished and Function Call) only execute for agents they’re assigned to. This lets you:
  • Use different workflows for different agents
  • Control which automations execute for each agent
  • Test workflows with a specific agent before applying them to others
This page applies to single-prompt agents only. If your agent uses conversational paths, workflows are assigned directly through flow nodes in the path editor instead.
Prerequisite: The workflow must be published and enabled before assigning it to an agent. If you need to create a workflow first, see Creating Workflows.

Assigning a Workflow

1

Access your agent

From the dashboard, go to the Agents section and select the agent you want to assign workflows to.
2

Go to the Workflows section

In the agent configuration, find the Workflows section. Here you’ll see currently assigned workflows and can add new ones.
Workflows section in agent configuration
3

Assign post-call workflows

Select the workflows you want to execute when this agent’s calls end. You can assign multiple post-call workflows to the same agent — all of them will execute when the call ends.
4

Assign during-call workflows

Select the workflows you want the agent to use as tools during conversations. You can assign multiple during-call workflows to the same agent.Each during-call workflow appears as an available tool for the agent. The agent will decide which one to use based on the conversation context and the description you configured in the Function Call trigger.
5

Save changes

Changes are saved automatically. Assigned workflows will be active on the agent’s next call.

Post-call vs During call

FeaturePost-callDuring call
When it executesWhen the call endsIn the middle of the conversation
Quantity per agentMultipleMultiple
Agent waits for responseNoYes (synchronous) or No (asynchronous)
User notices anythingNo, it’s transparentYes, the agent may mention the wait
TriggerCall FinishedFunction Call

Workflows and Agent Versions

Workflows are assigned to specific agent versions. This means:
  • Different versions of the same agent can have different workflows
  • You can test new workflows on a development version without affecting the production version
  • When creating a new version, assigned workflows are not automatically copied
Use version control together with workflow assignment to safely test new automations.

Verifying the Assignment

After assigning workflows, verify everything works correctly:
  1. Make a test call with the agent
  2. For post-call workflows: verify the action executed after hanging up (email sent, record created, etc.)
  3. For during-call workflows: during the call, ask the agent to execute the action (e.g., “check my availability for tomorrow”)
  4. Check the workflow execution history to confirm it ran successfully

Next Steps

The Diga piece

Learn about the available triggers and actions in detail.

Test calls

Test your agents with assigned workflows.

Create workflows

Create new workflows for your agents.
https://mintcdn.com/diga/8ytXWoW-xL71V8MR/icons/layers-three-02.svg?fit=max&auto=format&n=8ytXWoW-xL71V8MR&q=85&s=ab08080f319c90db5ac35d9059c2e416

Version control

Manage agent versions with different workflows.