In this article, you will learn how to get started with the ECA module, from creating your first email campaign to building and launching automated delivery chains.
1. Email Server – General Options
- Go to the plugin global options and configure your email server connection and related options.
2. Email Templates
- Navigate to Email (C&A) → Templates.
- On the template editing page, use the visual page builder to configure the global design of your email messages. Review the predefined “Default Emails Chain Template” as a reference.
- Add the mandatory element “Email Step / Chain Content”. The content of each Step (Email) from the linked Chain will be injected into this element before sending.
- Add the mandatory element “Unsubscribe” at the bottom of the email. This element automatically inserts a generated unsubscribe link for the contact.
- Use the “Load Preview” button in the top-right corner to preview how the email will appear in the recipient’s email client.
- Click “Save”. If the Template is already linked to one or more Chains, updated templates will be automatically regenerated for all related Steps.
3. Creating Email Campaign & Automation Chains
- Navigate to Email (C&A) → Chains.
- In the Chain editor, the top horizontal timeline represents all Steps (Emails) in the Chain. You can add, remove, and reorder Steps using drag & drop.
- Clicking a Step loads its content and options. Use the page builder to configure the email content and carefully define Step Conditions. The email will be sent only if the contact meets these conditions at execution time.
- In the main Chain Options tab, configure Conditions & Segmentation and click “Save Chain Options”. Any contact that matches these conditions will automatically enter the Chain.
- To apply the Chain to existing contacts, click “Apply Chain to Contacts”. The process runs via the queue and may take several minutes.
4. Delivery Process & Tracking
- Active executions are available in Email (C&A) → Flows.
- Detailed logs are available in Email (C&A) → Flow Logs.
- Email interaction events (opens and link clicks) are available in Email (C&A) → Email Events.
5. System Notes
- The system uses WP_CRON to process email batches and conditions every minute.
- WP_CRON is not a real system cron. For production environments, it is strongly recommended to configure a real server cron job that triggers the site every 1 minute.
We hope you enjoy working with the SaleGen Email Campaigns & Automations module.