n8n Integration
How to use personalize.marketing with n8n
n8n Integration
Connect personalize.marketing to your n8n workflows.
Increase Timeout to 5 Minutes
The API analyzes influencer profiles in real-time, which can take up to 300 seconds per request. Set your HTTP client timeout to at least 300 seconds (5 minutes) to avoid premature timeouts.
Prerequisites
You need an API key. See Get Started for instructions.
Setup
Use n8n's HTTP Request node to call the personalize.marketing API.
Step 1: Add HTTP Request Node
- Add an HTTP Request node to your workflow
- Connect it after your trigger node
Step 2: Configure the Node
Method: POST
URL:
https://personalize.marketing/api/v1/personalize-apiAuthentication: Generic Credential Type
Generic Auth Type: Header Auth
Header Auth:
- Name:
Authorization - Value:
Bearer YOUR_API_KEY
Body Content Type: JSON
Body Parameters:
{
"profile_url": "={{ $json.profile_url }}",
"template": "Hey {{first name}},\n\nLove what you are building with {{their company or product}}. We make fitness supplements that would pair perfectly with your brand.\n\nWorth a quick chat?",
"brand_context": "We are a fitness supplement brand targeting health-conscious entrepreneurs",
"ai_instructions": "Keep the tone professional but friendly",
"enable_brand_fit_score": false,
"include_profile_report": false,
"include_raw_data": false
}Step 3: Set Timeout
In the node settings:
- Click Settings tab
- Set Timeout to
300000milliseconds (5 minutes)
n8n supports long timeouts, so API requests will complete successfully.
Step 4: Use the Response
The response includes personalized_text which you can use in subsequent nodes (e.g., send via Gmail, add to spreadsheet).
Response:
{
"success": true,
"personalized_text": "Hey Arnold,\n\nLove what you are building with The Pump app. We make fitness supplements that would pair perfectly with your brand.\n\nWorth a quick chat?",
"profile_url": "https://linkedin.com/in/arnold-schwarzenegger/",
"brand_fit_score": 9,
"profile_report": "Arnold Schwarzenegger is an entrepreneur, actor, and fitness icon with 500K+ LinkedIn followers. He actively promotes his businesses including The Pump app and his daily newsletter. His content focuses on fitness, motivation, and health advice. High engagement rates with a professional, health-conscious audience.",
"raw_data": {
"profile": {
"firstName": "Arnold",
"lastName": "Schwarzenegger",
"headline": "Businessman | Founder of The Pump",
"followerCount": 500000
},
"posts": ["..."]
}
}Example Workflow
Trigger (Google Sheets) → HTTP Request (personalize.marketing) → Gmail (Send Email)Request Fields
| Field | Required | Description |
|---|---|---|
profile_url | Yes | LinkedIn, Instagram, or TikTok profile URL |
template | Yes | Your message with {{instruction}} placeholders (e.g., {{first name}}) |
ai_instructions | No | Custom tone/style instructions for the AI |
brand_context | No | Your brand description for better post matching |
enable_variations | No | Rephrase output to avoid spam detection |
enable_brand_fit_score | No | Get 1-10 brand fit score |
include_profile_report | No | Get detailed influencer analysis |
include_raw_data | No | Get raw profile data (unstable, for debugging only) |
See API Reference for complete documentation.
Interested in a workflow template? Let us know at contact@personalize.marketing