NexaDesk

Workflows

Automate actions based on conversation events and triggers

Workflows let you automate repetitive tasks triggered by conversation events. When something happens (a new lead, a conversation assigned, a tag applied), a workflow can execute actions automatically.

How Workflows Work

Each workflow consists of:

  1. Trigger — The event that starts the workflow
  2. Conditions — Optional filters that must be true for the workflow to proceed
  3. Actions — One or more steps to execute

Available Triggers

TriggerDescription
New conversationA visitor starts a new chat
Conversation assignedAn agent is assigned to a conversation
Conversation closedA conversation is archived
New lead createdA lead is added to the CRM
Lead stage changedA lead moves to a different pipeline stage
Tag addedA specific tag is applied to a conversation
Message receivedA new message arrives in any conversation

Available Actions

ActionDescription
Send messageSend an automated reply to the visitor
Assign agentAssign the conversation to a specific agent or round-robin
Add tagApply a tag to the conversation or lead
Change lead stageMove the associated lead to a new pipeline stage
Send notificationNotify a team member via email or browser notification
Send webhookPOST data to an external URL
WaitPause the workflow for a specified duration

Building a Workflow

  1. Navigate to Workflows in the sidebar
  2. Click Create Workflow
  3. Select a trigger event
  4. Add optional conditions (e.g., "source equals WhatsApp" or "tag contains VIP")
  5. Add one or more actions
  6. Name your workflow and activate it

Example Workflows

Trigger: New conversation Action: Assign agent (round-robin across available agents)

Trigger: Lead stage changed to "Qualified" Condition: Expected billing amount > $5,000 Actions:

  1. Add tag "VIP"
  2. Send notification to sales manager
  3. Send webhook to Slack channel

Trigger: Conversation closed Condition: Conversation has at least 3 messages Actions:

  1. Wait 24 hours
  2. Send message: "Thanks for chatting with us! Is there anything else we can help with?"

Workflow Logs

View the execution history of all workflows under Workflows > Logs. Each entry shows the trigger event, conditions evaluated, actions taken, and any errors encountered.