Automated Campaigns (Event-Driven)
Overview
Automated campaigns send WhatsApp messages automatically when specific events occur in your e-commerce platform. These event-driven campaigns enable real-time customer communication without manual intervention.What are Automated Campaigns?
Automated campaigns (also called Event-Driven Campaigns) are triggered by specific events from connected e-commerce platforms such as:- Order creation and updates
- Payment confirmations
- Shipping notifications
- Cart abandonment
- Checkout events
Key Benefits
- Flexible Timing: Messages sent immediately or after configured delays when events occur
- Personalized Content: Dynamic data from events inserted into messages
- Reduced Manual Work: Fully automated messaging workflows
- Improved Customer Experience: Timely, relevant communications
- Scalable Operations: Handle high volumes without manual intervention
Supported Platforms and Events
Shopify Integration
Available Events:- orders/create: When a new order is placed
- orders/updated: When order details change
- orders/paid: When payment is completed
- orders/cancelled: When an order is cancelled
- orders/fulfilled: When an order is shipped
- checkouts/create: When checkout begins
- checkouts/update: When checkout details change
- Order confirmation messages
- Payment received notifications
- Shipping updates
- Cancellation alerts
- Abandoned checkout recovery
Salla Integration
Available Events:- order.created: When a new order is placed
- order.updated: When order status changes
- order.cancelled: When an order is cancelled
- Order confirmations
- Status update notifications
- Cancellation communications
Zid Integration
Available Events:- order_created: When a new order is placed
- order_updated: When order details change
- Order notifications
- Update communications
Creating an Automated Campaign
Navigation
Path:/event-campaigns
→ Click “Create Campaign” button → Campaign wizard
Step-by-Step Process
Step 1: Platform Selection
Purpose: Connect to your e-commerce platform Process:- Select your e-commerce platform (Shopify, Salla, Zid)
- Verify platform credentials and connection
- Confirm webhook integration is active
- Valid platform integration
- Active webhook subscriptions
- Proper authentication credentials
- If platform shows “Not Connected”, check integration settings
- Verify webhook URLs are configured correctly
- Ensure API credentials are valid and active
Step 2: Event Selection
Purpose: Choose which events will trigger your campaign Process:- Browse available events for your platform
- Review event descriptions and data available
- Select the specific event that matches your use case
- New orders
- Order updates
- Payment confirmations
- Cancellations
- Fulfillment notifications
- Checkout initiation
- Checkout abandonment
- Checkout completion
- Items added to cart
- Cart abandonment
- Cart recovery
- Choose events that provide value to customers
- Consider message frequency to avoid spam
- Ensure events have the data you need for personalization
Step 3: Template Selection
Purpose: Choose the message template for your automated campaign Process:- Select WhatsApp phone number (determines available templates)
- Browse approved templates
- Filter by category and type
- Preview template structure and variables
- Must be approved by Meta
- Must be available for selected phone number
- Should match the event type and purpose
- Must contain variables that can be mapped to event data
Step 4: Variable Mapping
Purpose: Map event data to template variables Process:- View template variables that need mapping
- Browse available event data fields
- Map each variable to appropriate event data
- Set fallback values for optional variables
- Customer information (name, email, phone)
- Order details (number, total, currency)
- Product information (names, quantities, prices)
- Shipping information (address, method)
- Payment details (method, status)
- Use relevant data that adds value
- Provide fallback values for optional fields
- Test mappings with sample data
- Ensure data privacy compliance
Step 5: Webhook Filters
Purpose: Control when campaigns trigger based on event data Filter Options:- Event Properties: Filter based on specific event data
- Order Values: Minimum/maximum order amounts
- Product Types: Specific products or categories
- Customer Attributes: Customer types or segments
- Geographic Filters: Specific locations or regions
- Only trigger for orders over $50
- Send only for specific product categories
- Exclude certain customer segments
- Filter by shipping location
Step 6: Campaign Configuration
Purpose: Set up campaign name, audience, and delay settings Configuration Options: Campaign Name:- Internal identifier for management
- Should be descriptive and unique
- Not visible to customers
- Concerned Party: Send to customer involved in event (recommended)
- All Customers: Send to entire customer base
- Custom Audience: Apply additional filters
- Enable for fully automated operation
- Disable to require manual approval for each message
- Option to include unsubscribed customers
- Use cautiously and ensure compliance
- Immediate: Send right when event occurs
- Delayed: Wait specified time before sending
- Delay Options: Minutes, hours, days, weeks, months
Step 7: Review and Launch
Purpose: Final review and campaign activation Review Checklist:- Platform integration is active
- Event selection is appropriate
- Template mapping is complete
- Filters are correctly configured
- Delay settings are optimal
- Campaign name is descriptive
- Review all configuration details
- Test with sample data if possible
- Click “Launch Campaign”
- Campaign becomes active immediately
Managing Automated Campaigns
Campaign States
Draft
Characteristics:- Campaign configured but not active
- No messages being sent
- All settings can be modified
- Can be deleted without impact
- Edit all campaign settings
- Test configuration
- Launch campaign
- Delete campaign
Active
Characteristics:- Campaign is running and responding to events
- Messages being sent automatically
- Limited editing capabilities
- Real-time trigger monitoring
- View campaign performance
- Monitor trigger activity
- Pause campaign
- View message logs
Paused
Characteristics:- Campaign temporarily stopped
- No new messages being sent
- Existing configuration preserved
- Can be reactivated
- Resume campaign
- Edit settings while paused
- View historical performance
- Delete campaign
Failed
Characteristics:- Campaign encountered errors
- Automatic triggering stopped
- Requires intervention to fix
- Error details available
- View error details
- Fix configuration issues
- Restart campaign
- Contact support if needed
Performance Monitoring
Trigger Metrics
- Total Triggers: Number of events received
- Successful Messages: Messages sent successfully
- Failed Messages: Messages that failed to send
- Success Rate: Percentage of successful triggers
Engagement Metrics
- Delivery Rate: Percentage of messages delivered
- Read Rate: Percentage of messages opened
- Click Rate: Percentage of recipients who clicked
- Response Rate: Percentage who responded
Timing Analysis
- Average Response Time: How quickly messages are sent after events
- Peak Trigger Times: When most events occur
- Delivery Patterns: When messages are most effective
Common Issues and Troubleshooting
Platform Integration Issues
Platform Not Connected
Cause: Integration credentials invalid or expired Solution:- Check integration settings in platform section
- Re-authenticate with platform
- Verify webhook configurations
- Contact support for persistent issues
Events Not Triggering
Cause: Webhook integration problems Solution:- Verify webhook URLs are configured
- Check webhook event subscriptions
- Test with manual platform events
- Review webhook logs for errors
Template and Variable Issues
Variables Not Populating
Cause: Incorrect variable mapping or missing event data Solution:- Review variable mappings
- Check available event data
- Add fallback values for optional fields
- Test with sample event data
Template Approval Issues
Cause: Template not approved or expired Solution:- Check template approval status
- Submit template for approval if needed
- Use alternative approved templates
- Contact Meta support for approval issues
Filter and Targeting Problems
Too Many/Few Messages
Cause: Incorrect filter configuration Solution:- Review webhook filters
- Adjust filter criteria
- Test with sample events
- Monitor trigger frequency
Wrong Recipients
Cause: Incorrect recipient type or audience filters Solution:- Verify recipient type settings
- Check audience filter configuration
- Test with known customer data
- Review customer segmentation
Performance Issues
High Failure Rates
Possible Causes:- Invalid customer phone numbers
- Platform integration issues
- Template approval problems
- Rate limiting
- Clean customer contact data
- Verify platform integration health
- Check template status
- Monitor rate limits and quotas
Delayed Message Delivery
Cause: High event volume or system processing delays Solution:- Monitor system status
- Consider message prioritization
- Optimize webhook filters
- Contact support for performance issues
Best Practices for Automated Campaigns
Platform Integration
- Maintain Active Connections: Regularly verify platform integrations
- Monitor Webhook Health: Check webhook delivery status
- Update Credentials: Refresh authentication tokens as needed
- Test Regularly: Verify events are triggering correctly
Event Selection
- Choose Relevant Events: Select events that provide customer value
- Avoid Over-messaging: Don’t trigger on every minor event
- Consider Customer Journey: Map events to customer experience
- Monitor Frequency: Ensure reasonable message frequency
Template Design
- Event-Specific Content: Tailor templates to specific events
- Dynamic Data: Use event data for personalization
- Clear Value: Ensure messages provide useful information
- Actionable Content: Include relevant next steps
Variable Mapping
- Accurate Mapping: Ensure variables match intended data
- Fallback Values: Provide defaults for missing data
- Data Validation: Check data quality before mapping
- Privacy Compliance: Only use necessary customer data
Filter Configuration
- Start Broad: Begin with simple filters and refine
- Test Thoroughly: Verify filters work as expected
- Monitor Performance: Adjust based on results
- Document Logic: Maintain clear filter documentation
Performance Optimization
- Regular Monitoring: Check campaign performance frequently
- Optimize Timing: Adjust delays based on engagement
- A/B Testing: Test different approaches
- Iterative Improvement: Continuously refine campaigns
Advanced Features
Multi-Event Campaigns
- Sequential Events: Chain multiple events together
- Conditional Logic: Different actions for different scenarios
- Event Timing: Consider event relationships and timing
Dynamic Content
- Real-time Data: Include live information in messages
- Conditional Content: Show different content based on event data
- Personalization: Deep customization using event properties
Advanced Filtering
- Complex Logic: Combine multiple filter conditions
- Event History: Filter based on previous events
- Customer Behavior: Use interaction patterns for filtering
Integration Monitoring
- Health Checks: Automated monitoring of platform connections
- Alert Systems: Notifications for integration issues
- Performance Tracking: Monitor integration reliability
Compliance and Best Practices
WhatsApp Compliance
- Template Approval: Ensure all templates are approved
- Message Quality: Maintain high engagement rates
- Opt-out Handling: Respect customer preferences
- Rate Limiting: Stay within WhatsApp limits
Data Privacy
- Consent Management: Verify customer consent for automated messages
- Data Minimization: Only use necessary data in messages
- Security: Protect customer data in transit and storage
- Retention: Follow data retention policies
Customer Experience
- Timing: Send messages at appropriate times
- Frequency: Avoid overwhelming customers
- Relevance: Ensure messages provide value
- Personalization: Make messages feel personal and relevant