Skip to main content

Make

Add an email finder to any Make scenario: a new row in a sheet, a new deal in your CRM, a form submission… You'll use three modules: HTTP, Sleep, HTTP.

What you need

A Make account, an existing scenario with a trigger (for example Google Sheets › Watch New Rows), and your Icypeas API key.

Add an HTTP › Make a request module after your trigger and fill it in:

FieldValue
URLhttps://app.icypeas.com/api/email-search
MethodPOST
HeadersAuthorization = your API key
Content-Type = application/json
Body typeRaw
Content typeJSON (application/json)
Request contentThe JSON below, with the values mapped from your trigger
Parse responseYes
Request content
{
"firstname": "{{1.firstName}}",
"lastname": "{{1.lastName}}",
"domainOrCompany": "{{1.company}}"
}

Replace the {{1.…}} placeholders by clicking the matching fields of your trigger in the mapping panel.

Verifying instead of finding?

Use https://app.icypeas.com/api/email-verification and the body { "email": "{{1.email}}" }.

Wait​

Add a Tools › Sleep module with a delay of 10 seconds.

Read the result​

Add a second HTTP › Make a request module:

FieldValue
URLhttps://app.icypeas.com/api/bulk-single-searchs/read
MethodPOST
HeadersSame two headers as step 1
Body type / Content typeRaw / JSON (application/json)
Request content{ "id": "{{2.data.item._id}}" } (map data › item › _id from the first HTTP module)
Parse responseYes

Use the email​

In the next modules, map from the second HTTP module:

  • Email: data › items › 1 › results › emails › 1 › email
  • Certainty: data › items › 1 › results › emails › 1 › certainty
  • Status: data › items › 1 › status

Make counts array items from 1, so items[1] is the first result.

Make it robust​

  • Add a filter after step 3: continue only if status is DEBITED or FOUND. See all statuses.
  • Still in progress? If status is NONE, SCHEDULED or IN_PROGRESS, add another Sleep + HTTP pair, or use a Repeater.
  • Errors: if the first module returns "success": false, check the mapped fields. See Errors.

Even better: let Icypeas call Make​

Instead of waiting, add a Webhooks › Custom webhook trigger in a second scenario, copy its URL, and send it with your search:

{
"firstname": "{{1.firstName}}",
"lastname": "{{1.lastName}}",
"domainOrCompany": "{{1.company}}",
"custom": {
"webhookUrl": "https://hook.eu1.make.com/your-webhook-id",
"externalId": "{{1.id}}"
}
}

The second scenario receives the full result as soon as it's ready, with your externalId to match it to the original record. See the webhook payload.