I created a workflow with a post webhook trigger and tested it successfully.
Trying to activate the Webhook changing to a production URL i run into problems.
I can activate the workflow but the webhook is not posting any data if triggered
production URL is not available, meaning it jumps back to the test URL.
Anyone has a tip how to activate a post webhook workflow properly?
Unfortunately, I wasnât able to load the JSON representation of your workflow since it has lots formatting applied. Could you share it using the option for preformatted text (or manually put three backticks ``` in the lines above and below)? This should prevent any formatting from being applied.
On the actual issue, I suspect there might be a misunderstanding of how active workflows behave. When activating a workflow, you wouldnât see the execution progress in the canvas (in other words, data sent to your production endpoint would not show up by straight away). You can, however, configure your workflow to save execution data in the workflow settings:
Is this what you were looking for? If not, could you elaborate on the âwebhook is not posting any data if triggeredâ part? Would this also be reproducible in a simplified workflow for you (ideally consisting just of the problematic node so we can take it from there)?
Glad to hear you like n8n so far, I am sure we can work this one out too
Would the problem here being that Mautic not triggers the webhook at all or that it doesnât pass on data? And would the same problem occur when using the Mautic Trigger rather than the generic webhook node?
And could you double-check whether the webhookâs production URL works for you when used manually (for example via curl, Postman or Insomnia)?
The mautic triggers the webhook but n8n deosnât revieve anythingâŚ
404
{âcodeâ:404,âmessageâ:âThe requested webhook âPOST cc36b858-ea60-49d0-923c-2ce7e63e5569â is not registered.â,âhintâ:"Click the âExecute workflowâ button on the canvas, then try again.
November 17, 2021 1:04 pm CET
The Webhook production URL is not available, or at least it swithces back to test url after reopening a node. I was wondering why this happens and if this depends on any settings.
So this very much looks like a problem with the specific Mautic webhook you have configured. Could you double-check the URL field in your webhook settings and make sure itâs an exact match of your production URL (no trailing spaces or weird characters anywhere)?
Whenever i send a testloas from mautic it is also a successful. the problem seems to be in the webhook node in n8n. I added a link with a screenrecording for you to see what i mean with not beeing able to switch to the production URL.
Have you seen this before? There is no way i can switch to a production URL.
So what you show in this video is just the default behaviour - the node just shows the test URL first and youâd need to manually click on the production URL to view it. You donât need to switch between the URLs for them to work, both URLs exist separately from each other. They are also explained in more detail here in the docs.
The test URL would however only work when you manually execute your workflow.
Your production URL would work whenever the workflow is active.
So you need to make sure to set the production URL in your Mautic webhook.