This workflow automates person data enrichment using the Clearbit API in n8n. Key nodes include Person Lookup Webhook for receiving POST requests, Validate Email Input to extract email data, Check Email Format to validate inputs, Lookup Person in Clearbit for API interaction, and Process Person Data to format results. Setup Requirements: Install n8n by downloading from n8n.io for local setup or sign up at cloud.n8n.io for cloud access. For Clearbit, visit clearbit.com, create an account, and obtain an API key from the dashboard. In n8n, navigate to Credentials > Add Credential > HTTP Basic Auth, name it 'clearbitApi', and enter the API key as the password (leave username blank). Configure the Person Lookup Webhook node with a unique path (e.g., 'person-lookup'). Ensure the Lookup Person in Clearbit node uses 'https://person.clearbit.com/v2/people/find' and references the 'clearbitApi' credential. Missing credentials cause an authentication error; verify the API key. Invalid email formats trigger a 'Invalid email address format' error with a 400 status code. Testing and Deployment: Import the JSON into n8n’s workflow editor. Test the webhook with a POST request (e.g., curl -X POST http://your-n8n-instance/person-lookup -d '{"email":"user@example.com"}'). Validate outputs in the Process Person Data node, checking fields like full_name, job_title, and linkedin_url. Ensure 'person_found: true' for successful lookups. Handle errors like invalid emails or missing data, which route to the Send Not Found Response. Deploy by activating the workflow in n8n and integrating the webhook URL into your application. Monitor logs for issues like failed API calls or invalid inputs to ensure reliable enrichment and robust error handling.
$5.49
Workflow steps: 9
Integrated apps: webhook, set, if