How Automations Work
Every automation follows a listen-think-act pattern:- Listen (Triggers) - Monitor for specific events happening in your system
- Think (Conditions & AI) - Evaluate the event and determine what should happen
- Act (Actions) - Execute the appropriate response automatically
Manual vs. Automated: Customer Support
Manual process: Customer emails support → Email sits in inbox → Agent reads email → Agent searches for customer → Agent creates ticket → Agent assigns ticket → Agent sends confirmation Automated process: Customer emails support → Email Received trigger fires → AI analyzes email content → Search Records finds customer → Create Record generates ticket → AI Classification determines priority → Make Assignment routes to appropriate agent → Send Email Notification confirms receiptTriggers: Understanding Events
Events represent activities within your system. Every interaction, data change, or scheduled occurrence can trigger an automation. Record Events- Record is Created: New data enters your system
- Record is Updated: Existing data changes
- Approval Process Status Updated: Approval workflows advance
- Attachment is Added: Files uploaded to records
- Comment Added: Team members communicate on records
- Data Mine: Scheduled data collection from external sources
- Email Received: Incoming emails that need processing
- Time-Based: Scheduled executions (daily, weekly, monthly)
- Survey: Responses submitted through forms
- On-Demand Trigger: Custom triggers with inputs/outputs for complex workflows
- Agent Conversation Ended: AI agent interactions complete with context
AI Integration
AI actions process information and make decisions within your automation workflows. Each action receives data through variables and produces structured outputs.- AI Classification - Categorizes unstructured data into predefined groups (e.g., routing support tickets by type)
- AI Summarization - Condenses lengthy content into key insights (e.g., generating executive summaries from customer feedback)
- AI File Analysis - Extracts structured information from documents (e.g., pulling vendor, amount, and due date from invoice PDFs)
- Transform Data with AI - Cleans, normalizes, and enhances data (e.g., standardizing addresses and phone numbers)
Build Your First Automation
Choose your trigger
Select the event that starts the automation. For a customer support workflow, use Email Received to capture incoming requests. See the Triggers Reference for all available triggers and configuration options.
Add AI actions
AI Classification: Analyze the email content and categorize it (Bug, Feature Request, General Support) — output stored as
email_categoryAI Summarization: Create a brief summary of the customer issue — output stored as issue_summaryAdd response actions
Search Records: Find the existing customer using their email address — output stored as
customer_recordCreate Record: Generate a support ticket using the customer record, category, and summary — output stored as support_ticketMake Assignment: Route to the appropriate team based on email category — output stored as assigned_agentSend Email Notification: Confirm receipt to the customer with the ticket number and assigned agentSee the Actions Reference for all available actions and configuration options.Automation Patterns
Decision Tree
Use IF conditions to create branching logic based on record data:Data Processing Pipeline
Chain multiple AI actions for complex data transformation:Approval Workflow
Combine AI with human decision-making:Variables
Variables carry information between automation actions, connecting outputs from one step to inputs of the next. Trigger variables come from the initiating event:trigger.record_id- ID of the record that triggered the eventtrigger.user_email- Email of the user who caused the eventtrigger.timestamp- When the event occurred
search_result.customer_name- Customer name from Search Recordsai_classification.category- Category from AI Classificationnew_record.record_id- ID of newly created record
customer_priority_level rather than priority), and use IF conditions to validate variable values before passing them to downstream actions.
Actions
Automations support a broad set of built-in actions across several categories. For complete details, examples, and configuration options, see the Automation Actions Reference.Logic Actions
Use IF conditions to branch behavior and Repeat for Each to loop over collections.
Record Actions
Create, update, search, and relate records. Manage approvals, assignments, and field locking.
Communication Actions
Send email notifications, post Microsoft Teams messages, and add comments to records.
File Actions
Read files, extract structured data with AI analysis, and process ZIP archives.
Data Actions
Run calculations, set variables, classify content, summarize text, and transform data with AI.
External Actions
Call external APIs and execute custom functions for specialized integrations.
Agent Actions
Run autonomous agent tasks and initiate outbound phone calls.
Monitoring and Debugging
Access execution history for each automation to track:- Execution Status: Success or failure
- Timestamp: When the automation ran
- Actions Executed: Steps completed
- Variables Used: Data passed between actions
- Error Messages: Detailed failure information
Common Use Cases
Invoice Processing
Invoice Processing
Scenario: Automatically extract and route invoices uploaded as PDF attachmentsTrigger: Attachment is Added (invoice PDF)Flow:
Customer Onboarding
Customer Onboarding
Scenario: Welcome new customers and set up their accounts automaticallyTrigger: Record is Created (new customer)Flow:
Sales Lead Qualification
Sales Lead Qualification
Scenario: Score and route inbound leads based on fit and qualityTrigger: Record is Created (lead form submission)Flow:
Project Status Monitoring
Project Status Monitoring
Scenario: Alert stakeholders when a project status changes, with escalation for at-risk projectsTrigger: Record is Updated (project status change)Flow:
For design principles, performance strategies, and proven patterns, see Automation Best Practices. For complete action details and examples, see the Automation Actions Reference. For trigger configuration and use cases, see the Automation Triggers Reference.