# N8N

**n8n** is a source-available workflow automation platform that lets you connect Clearout with hundreds of apps and services through a visual, node-based editor — no coding required. You can self-host it or use n8n Cloud to automate tasks such as email verification and email discovery whenever data flows between your forms, CRMs, spreadsheets, and other tools.

## What Clearout Can Do in n8n

Clearout works with n8n to provide you powerful email-related actions that you can use in your workflows. The two main actions you can do are

### **Verify Email Address**

Validate an email address in real-time to determine its deliverability and quality. Clearout checks syntax, domain validity, mailbox existence, and risk factors to help you filter out invalid or unsafe emails before sending.

### **Find Email Address**

Discover a professional email address in real-time using a person’s name and company domain. Clearout identifies the most likely email pattern and returns pre-verified, deliverable results for outreach.

These actions help you keep your data accurate and make outreach easier.

## Prerequisites

* **Clearout API Token** - Log in to your Clearout account and go to [**Developer → API**](https://app.clearout.io/developer/api/list) to create or copy your API token.
* **n8n Instance** - Ensure you have access to your n8n workspace (Cloud or self-hosted).

## Setup Clearout on n8n

{% stepper %}
{% step %}

### Add the HTTP Request Node <a href="#add-http-node" id="add-http-node"></a>

In your n8n workflow, click the **+** icon and add an **HTTP Request** node at the point where you want the email verification or email finding to occur.

<div data-with-frame="true"><figure><img src="/files/24cexutuYMT1GErZSe0W" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Configure Authentication <a href="#configure-auth" id="configure-auth"></a>

To authenticate your requests, set a header on the HTTP Request node:

* **Header Name:** `Authorization`
* **Header Value:** `Bearer <YOUR_API_KEY>`

Follow these steps inside the node:

1. Set **Authentication** to **Generic Credential Type**.

<div data-with-frame="true"><figure><img src="/files/ZPsvUfozS7BibIYa4ET1" alt=""><figcaption></figcaption></figure></div>

2. Set **Generic Auth Type** to **Header Auth**.

<div data-with-frame="true"><figure><img src="/files/zRyKo1ycpZkczZqBZQ1a" alt=""><figcaption></figcaption></figure></div>

3. Click **Create New Credential** to set up credentials.

<div data-with-frame="true"><figure><img src="/files/TpZMn24utzcBUlwgabaT" alt=""><figcaption></figcaption></figure></div>

4. In the credential popup:

* Fill the **Name** field as `Authorization`.
* Fill the **Value** field as `Bearer <YOUR_API_KEY>` (replace `<YOUR_API_KEY>` with the token from the prerequisites).

<div data-with-frame="true"><figure><img src="/files/TCQgzARKY5sfO87xGvJ7" alt=""><figcaption></figcaption></figure></div>

5. Click **Save**.
   {% endstep %}

{% step %}

### Set Request Parameters <a href="#set-parameters" id="set-parameters"></a>

Configure the node with the following settings:

| Parameter                                                                                                      | Value                                               |
| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
| **Method**                                                                                                     | POST                                                |
| **URL** ([Email Verification](https://docs.clearout.io/developers/api/email-verify#post-email_verify-instant)) | <https://api.clearout.io/v2/email\\_verify/instant> |
| **URL** ([Email Finder](https://docs.clearout.io/developers/api/email-finder#post-email_finder-instant))       | <https://api.clearout.io/v2/email\\_finder/instant> |
| **Send Body**                                                                                                  | True                                                |
| **Body Content Type**                                                                                          | `JSON`                                              |

<div data-with-frame="true"><figure><img src="/files/tomWe7lPWAILDlrhi6Rb" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Define the Payload <a href="#define-payload" id="define-payload"></a>

Pass the **name** and **domain** (or company name) in the body of the request — not as query parameters. Use n8n expressions to dynamically map values from previous nodes.

{% code title="Email Verification Payload " %}

```json
{
  "email": "valid@example.com",
  "timeout": 10000
}
```

{% endcode %}

{% code title="Email finder Payload" %}

```json
{
  "name": "Steven Morris",
  "domain": "apple.com",
  "timeout": 30000,
  "queue": false
}
```

{% endcode %}

<div data-with-frame="true"><figure><img src="/files/dP0xISOzLGGRumPGa0OA" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Handle the Response <a href="#handle-response" id="handle-response"></a>

Once the node is executed, the results will appear in the **Output** section. For email finding, the response typically includes the discovered email address along with a confidence score. For email verification, it includes the verification status (`Valid`, `Invalid`, `Catch-all`, etc.) and a confidence score.

<div data-with-frame="true"><figure><img src="/files/G72LZNZdloQZ4ROrW9rO" alt=""><figcaption><p>Clearout Email Finder Response</p></figcaption></figure></div>

From here, you can add more nodes (filters, CRM updates, Google Sheets writes, notifications) to route the data based on your workflow logic and fully **automate your process with Clearout and n8n.**
{% endstep %}
{% endstepper %}

Clearout provides webhook support to efficiently handle long-running processes without requiring continuous polling. Instead of waiting for a synchronous response, you can configure a [webhook](https://app.clearout.io/developer/webhook) URL where Clearout will send the results once processing is complete.

{% hint style="info" %}
To explore more about Clearout webhooks, refer to the detailed [documentation](https://docs.clearout.io/developers/webhooks/overview) here.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.clearout.io/integrations/automation/n8n.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
