N8n dm automation

Describe the problem/error/question

i have a problem with the post request, i am trying to make an instagram dm automation and the post request doesnt work at all but the get method works

What is the error message (if any)?

there is no response

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 2.2.6
  • **Database (default: SQLite):**n8n Cloud (managed)
  • **n8n EXECUTIONS_PROCESS setting (default: own, main):**n8n Cloud (managed)
  • Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
  • **Operating system:**n8n Cloud (managed)

Hi @Fares_Hussein,
welcome to the n8n community.

Great that you shared your workflow with us! This allows to help and analyze faster.

In your case, the issue is that the trigger node has two outputs, but only one is connected.

@salmansolutions
i watch a mutiple video doing it like that i need to test the post method so i can get the Field names, so i need to execute the workflow and then i send a message to my instagram account and then i should get the output with field names to continue

Okay, so your issue is that the Webhook trigger is not triggered ?

This usually indicates that either:

  • you did use the production URL in test mode or the other way around
  • your connection is setup wrong on the side of Meta
  • the n8n server can’t be reached. Since we know that the GET mode works, we can focus on the options

Have you checked that when in the workflow designer, you’re using the test url and start the workflow manually?

Please share some details on how you did setup the webhooks. Are you using a 3rd party service or did you setup Instagram Messaging Webhooks?

so here is how the full workflow should looks like after it is done

I have just double-checked all those steps and confirmed the following:

  1. Correct URL: I am using the Test URL (ending in /webhook-test/...) in my Facebook Developer settings.

  2. Manual Start: I have the workflow open and I clicked the ‘Listen for event’ button. The node is currently spinning and says ‘Waiting for Webhook call’.

  3. Real-world Test: While it was spinning, I sent a DM to the Instagram account from a separate, secondary account.

  4. No Result: Even though the GET verification worked earlier, the Webhook node does not trigger or show any incoming data when the DM is sent. It just keeps spinning until it times out.

Can you share a screenshot of your settings in the meta interface?

tell me what else do want to see

I can see that you have subscribed to comments. But did you also subscribe to messages?
If you want to, we can schedule a short google meet call to solve this faster. If you’re interested, send me a DM.

ya sure, That would be amazing