Smartlead icon

Smartlead

Interact with the Smartlead.ai API

Lead → Get By Email

AI-generated

Overview

This node integrates with the Smartlead.ai API to manage leads, campaigns, email accounts, and related entities. Specifically, the Lead - Get By Email operation fetches detailed information about a lead using their email address. This is useful when you want to retrieve lead data for follow-up actions, validation, or enrichment in your workflows.

Common scenarios:

  • Automatically retrieving lead details by email before adding them to a campaign.
  • Checking if a lead exists in the system based on their email.
  • Enriching lead data in CRMs or marketing automation platforms by fetching up-to-date lead info from Smartlead.ai.

Practical example:
You receive an email address from a form submission and want to check if this lead already exists in Smartlead.ai. Using this node’s "Get By Email" operation, you can fetch the lead’s profile and decide whether to update it or add it to a campaign.


Properties

Name Meaning
Email The email address of the lead to fetch. Example: name@email.com

Output

The output JSON contains the lead data returned by the Smartlead.ai API for the specified email address. This typically includes fields such as:

  • Lead identifiers (ID, email)
  • Personal information (first name, last name, phone number, company, website, location, LinkedIn profile, etc.)
  • Custom fields associated with the lead
  • Campaign memberships and statuses (if included by the API)

The exact structure depends on the API response but generally provides comprehensive lead details.

This node does not output binary data.


Dependencies

  • Requires an active connection to the Smartlead.ai API.
  • Needs an API authentication credential configured in n8n (an API key or token).
  • The base URL used is https://server.smartlead.ai/api/v1.

Troubleshooting

  • Common issues:

    • Invalid or missing API credentials will cause authentication failures.
    • Providing an invalid or non-existent email may return empty results or errors.
    • Network connectivity issues can prevent API calls from succeeding.
  • Error messages:

    • Authentication errors: Check that the API key/token is correctly set up in n8n credentials.
    • "Lead not found" or empty response: Verify the email address is correct and exists in Smartlead.ai.
    • Request timeouts or network errors: Ensure n8n server has internet access and Smartlead.ai service is reachable.

Links and References

Discussion