Build Your First Workflow
Create a workflow that automatically generates a summary when a contact is created.
What You'll Build
A workflow that:
- Triggers when a new contact is created
- Uses AI to generate a personalized summary
- Updates the contact with the summary
Prerequisites
- Expedify account with Workflows access
- At least one contact in your CRM
Step 1: Create a New Workflow
- Navigate to Automation → Workflows
- Click + New Workflow
- Name it: "Contact Summary Generator"
- Click Create
Step 2: Add a Trigger
Every workflow starts with a trigger.
- From the node palette, drag Database Trigger to the canvas
- Configure it:
- Entity: Contacts
- Event: Create
- This workflow will now run whenever a new contact is created
Step 3: Add an AI Node
- Drag an LLM Node to the canvas
- Connect it to the trigger (drag from trigger output to LLM input)
- Configure the LLM node:
Model: GPT-4
Temperature: 0.7
Prompt: |
Generate a brief professional summary for this contact:
Name: {{databasetrigger_1.name}}
Email: {{databasetrigger_1.email}}
Company: {{databasetrigger_1.company_name}}
Keep it under 100 words.
Step 4: Add a CRM Update Node
- Drag a CRM Update node to the canvas
- Connect it to the LLM node
- Configure it:
Entity: Contact
ID: {{databasetrigger_1.id}}
Fields:
custom_fields:
ai_summary: {{llm_1.response}}
Step 5: Save and Activate
- Click Save in the toolbar
- Toggle the workflow to Active
- Your workflow is now running!
Test It
- Go to Customers → Contacts
- Click + Add Contact
- Add a new contact with name, email, and company
- The workflow will automatically generate a summary
View Execution
- Go to Automation → Executions
- Find your workflow execution
- Click to see the execution details and logs
Complete Workflow
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
│ Database │────▶│ LLM Node │────▶│ CRM Update │
│ Trigger │ │ │ │ │
│ │ │ Generate │ │ Save summary │
│ On: Contact │ │ summary │ │ to contact │
│ Event: Create │ │ │ │ │
└─────────────────┘ └─────────────────┘ └─────────────────┘
Understanding the Canvas
| Element | Purpose |
|---|---|
| Nodes | Individual steps in your workflow |
| Connections | Lines showing data flow between nodes |
| Variables | {{node_alias.field}} syntax to pass data |
| Toolbar | Save, test, and activate controls |
Variables Explained
Variables pass data between nodes. Each node has an alias, and you reference its output fields like this:
{{databasetrigger_1.name}}
↑ ↑
Node alias Field name
Next Steps
- Workflow Triggers - Learn all trigger types
- Workflow Builder - Explore the node palette
- Executions - Monitor and debug workflows
- Automation Guides - Deeper how-to tutorials