N8n self-hosted | Facebook Leads trigger

Hi all, im new to n8n and i’m trying to configure Facebook Leads trigger in my workflow

Describe the problem/error/question

I tried n8n in cloud enviroment with the same workflow and it was working fine. I built a self-hosted enviroment with the same workflow but the setup of the trigger was little trickier than the cloud env. Anyway i managed to set up all the triggers with their credentials and it’s fine.

Now when i test the trigger with a test lead (from meta developers tool) the trigger is not receiving any data.

I think the problem is on meta > app > webhooks
i cant verify the webhook, where can i find the verify token? I red many forums: some tell you to add the WEEBHOOK_TUNNEL_VERIFY_TOKEN=MYTOKEN in docker compose and use this token to verify the webhooks. others tell you to use the app token from the developers menu. In both case i cant verify my url.

What is the error message (if any)?

Trigger doesnt work when it should start the worflow

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.110.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 22.04 LTS

you can read topic I cant get facebook to verify my url to connect to messenger! - #10 by KevinNguyen

Hi, i found out that the problem was that i was trying to verify the webhook with a user token. I had to select Page from the menu and then subscribe the leadgen in the option that appear when you select Page.

The verify token was a string decleared in docker compose. This often get confused with the access token

Thank you for your reply

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.