Email Address Validation using APILayer API - n8n Workflow

Use this powerful n8n workflow to validate email addresses using the APILayer API. Essential n8n templates for ensuring data quality and robust automation.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  1. Technical marketers who need to clean and verify CRM or mailing list data.

  2. Developers seeking reliable external API integration examples within n8n.

  3. Users looking for a foundational n8n workflow example demonstrating dynamic HTTP requests.

  4. Anyone prioritizing high data quality in their automated processes.

Overview

Data quality is critical for maximizing communication effectiveness. This n8n workflow provides a simple, yet robust solution for validating email addresses using the specialized APILayer API. This specific n8n templates demonstrates how to securely define static credentials and dynamic variables and pass them into a standard HTTP request n8n node.

It serves as an excellent example of how the n8n node structure can be used to integrate virtually any external service requiring API key authentication directly into your automation pipelines. By leveraging this n8n workflow, you minimize email bounce rates, protect sender reputation, and improve overall deliverability. The n8n trigger allows for easy, manual testing, making this an accessible n8n templates for new and experienced users.

How it Works

This email validation process initiates upon the manual execution of the n8n trigger, When clicking ‘Execute workflow’.


  1. Data Preparation: The flow immediately moves to the Set Email & Access Key n8n node. Here, the specific email address slated for validation and the confidential APILayer access_key are defined and stored as variables in the workflow context. This is a crucial setup step for the n8n workflow.

  2. Dynamic API Call: The Make Request to APILayer n8n node receives these variables. It utilizes an expression to dynamically construct the full validation URL, securely embedding both the stored email and the access key.

  3. Request Execution: The n8n node sends the configured GET request to the APILayer validation endpoint.

  4. Result Processing: The APILayer response, detailing the validity and quality metrics of the tested email address, is captured by the n8n workflow. This information can then be used in subsequent steps, such as updating a database or flagging an invalid user.

Installation Guide


  1. Import the n8n workflow: Copy the provided n8n workflow JSON and paste it into your n8n instance via the 'New' -> 'Import from JSON' option.

  2. Obtain API Key: Register and obtain an API access key from the APILayer platform.

  3. Configure Credentials: Open the Set Email & Access Key n8n node.

Update the access_key field with your personal APILayer API key.
Update the email field with the specific email address you wish to test.

  1. Test the n8n templates: Click the 'Execute workflow' n8n trigger to run the process. Observe the structured validation output produced by the final n8n node in the output pane. This validates your setup.

Node Details

When clicking ‘Execute workflow’ (Manual Trigger n8n node): Functions as the starting n8n trigger. Allows the user to execute the entire n8n workflow instantly for on-demand validation or easy debugging. Key Configuration: None, it’s a standard n8n trigger.
Set Email & Access Key (Set n8n node): Used for data preparation, defining and securely passing necessary variables (the email address and the APILayer access key) to the next HTTP request step. Function: Sets two assignments: email (string) and accesskey (string). This is essential for the security and function of the n8n workflow.


  • Make Request to APILayer (HTTP Request n8n node): Executes the core validation logic of the n8n workflow by contacting the external APILayer API. Function: Sends a GET request to a dynamic URL constructed using expressions: =https://apilayer.net/api/check?accesskey={{ $json.access_key }}&email={{ $json.email }}. This exemplifies how to build complex, authenticated URLs within an n8n node.

Related n8n Workflows

Free

Nodes: 4 Nodes
Updated: December 26 2025
View all
Created by
Sarfaraz Muhammad Sajib
Sarfaraz Muhammad Sajib

Featured*