I was trying to integrate Facebook Lead Ads with EspoCRM using n8n. My goal was to ensure that when I receive a lead through Facebook Lead Ads, it would automatically be added to my CRM system. However, I was unable to successfully set up the Facebook Lead Ads node. Let me share the steps I followed.
Steps I have followed:
- Created Facebook Lead Ads and HTTP Request nodes. (n8n)
- Created an app in the Developer area. (FB)
- Added Facebook Login to that app.
- Copied the OAuth Redirect URL (from n8n) into the Valid OAuth Redirect URIs field (in Facebook login).
- Set the Facebook app to live mode.
- Copied the App ID and Secret ID, then pasted them into n8n and connected successfully.
- Created a lead form to test.
- In n8n, selected my page and that lead form.
Results:
What am I doing wrong here, and how can it be done successfully? I’ve noticed that many people have shared different methods, making it difficult to understand which one to follow Any advice would be appreciated.
Information on my n8n setup
- n8n version: 1.54.4
- Database (default: SQLite): default
- n8n EXECUTIONS_PROCESS setting (default: own, main): default
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: ubuntu 22.04