FM
FlowMarket
Email & Outreach Intermediate ⚡ 10 n8n Nodes

Validate email format from a Wordpress form and save a contact i

When you collect leads from a form, you need to format the incoming data such as the lead's name and also apply a basic validation of the email entered. Luck...

🔌 Nodes & Integrations Used (1)

Mautic

📖 Implementation & Setup Guide

When you collect leads from a form, you need to format the incoming data such as the lead's name and also apply a basic validation of the email entered.

Lucky for us, N8N offers all of these features with simple expressions that can easily be applied to data.

This workflow aims to show how you can process your lead data before saving it in Mautic.

How it Works

  1. This workflow receives data from a Wordpress form;
  2. applies name formatting and basic validation to the email;
  3. Creates the contact in Mautic;
  4. If e-mail is invalid, add the lead in Dot Not Contact list.

Setup Steps

  • Set up credentials when you first open the workflow. You'll need a Mautic account.
  • You need to configure a form in Wordpress (Elementor, WPForms, etc.) and send it to the N8N Webhook address;
  • Now map the fields you need to apply formatting and validation.
  • After testing your workflow, swap the Test URL to Production URL in Discourse and activate your workflow

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Validate_email_format_from_a_Wordpress_form_and_save_a_contact_i.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Email & Outreach Workflows

View All in Email & Outreach →