Articles in this section
Category / Section

How to Set Up and Use the Email Parser Module in FlowMattic

2 mins read
Updated:

Overview

The Email Parser Module in FlowMattic is a powerful tool that enables you to parse incoming emails and trigger workflows based on the email’s content. This article provides a step-by-step guide to setting up the Email Parser trigger and utilizing its features effectively.

Step-by-Step Guide

Step 1: Create a Workflow

  1. Log in to your WordPress site where FlowMattic is installed
  2. Create a new workflow and select the “Email Parser” app as the trigger.

Step 2: Configure the Email Parser

  1. Navigate to the Configure tab.
  2. Copy the custom email address provided for your workflow.
  3. Use this email address to forward emails you wish to parse.

Step 3: Prepare for Email Capture

  1. Switch to the Test tab.
  2. Click the “Capture Response” button to prepare FlowMattic for receiving email data.

Step 4: Forward Emails

  1. Forward the email you want to parse to the custom email address obtained in the Configure tab.

Step 5: View Parsed Content

  1. Once the email is received, go to the Test tab.
  2. Check the Responses section to view the parsed content.

Step 6: Add Workflow Actions

  1. Use the parsed email content to add specific actions to your workflow.

Parsed Email Content Details

The Email Parser extracts the following information from emails:

  • from_name: Name of the sender.
  • from_email: Email address of the sender.
  • to_email: Email address of the recipient.
  • subject: Subject of the email.
  • message_html: HTML content of the email (encoded with HTML entities for security).
  • message_text: Plain text content of the email.
  • date: Date and time the email was received.
  • attachments: Attachments in the email are uploaded to your WordPress media gallery, and their URLs are included in the parsed data.
  • emails_in_message_array: Array of email addresses found in the email content, useful for advanced modules like Iterator or PHP Array -> Extract JSON.
  • emails_in_message_list: Comma-separated list of email addresses found in the email content.

Tips and Notes

  • Ensure that forwarded emails are sent to the custom email address exactly as provided in the Configure tab.
  • Use the parsed data fields to create dynamic and robust workflows.
  • Regularly test the Email Parser setup to ensure consistent functionality.

Conclusion

By following these steps, you can seamlessly set up and use the Email Parser Module in FlowMattic to automate workflows based on email content. This feature allows for efficient email management and workflow automation, saving time and effort.

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied