Eleven labs webhook not receiving data in production url

Describe the problem/error/question

I have setup the webhook in n8n to receive data from elevenlabs, but this is working only for the test url, not production. I can confirm that I have set a POST request in elevenlabs webhook configuration and given the correct production url. Additionally, I can see that the executions tab brings in the data correctly using the production url, but this is not the case in the editor, thus I cannot pass this data to the next node in my workflow.

What is the error message (if any)?

Please share your workflow


Share the output returned by the last node

Information on your n8n setup

  • n8n version: [email protected]
  • Database (default: SQLite): N/A
  • n8n EXECUTIONS_PROCESS setting (default: own, main): N/A
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: cloud

Your workflow is working correctly. The production webhook (/webhook/...) is designed to NOT show data in the editor - that’s expected behavior.

  • Editor view: Only works with test URL (/webhook-test/...) while “Test workflow” is active

  • Production URL: Data flows through but only visible in Executions tab

Since your Executions tab shows the data correctly, your workflow is functioning properly. The data is being passed to the next nodes - you just can’t see it in the editor view for production executions. Check your Executions tab to see the full flow through all nodes.

I forgot to add a link to the docs which should also confirm this. @Abhishek_Luthra

@Uros_Zdravkovic thank you - I will run a few tests to check and come back to you - thank you for the information.

Could you also help me with another issue I am facing between the urls. If I set a test url in eleven labs and manually execute the webhook in n8n to “listen for test event”, it seems to time out after a specific duration. The problem is that I haven’t finished my conversation with the ai agent in eleven labs, and since the n8n test webhook has timed out, eleven labs does not send anything back as n8n’s test webhook is not “listening” anymore. Is there a way around this? I guess this applies to any test webhook, irrespective of whether data is coming in from eleven labs for elsewhere?

Welcome!

That is one of the commons issues that are mentioned here, it is listening for about 120 seconds and then stops after if the execution was not made, I believe this is security measure.

You can follow the workaround provided in order to resolve the issue. @Abhishek_Luthra

Thanks @Uros_Zdravkovic . I have gone through the documentation on timeouts, but I don’t think I have managed to resolve this. Each time my conversation with elevenlabs ai agent comes to an agent, the ai agent says that they have run into a technical problem to process the information. Upon some research, I believe this happens because the n8n webhook has timedout, and elevenlabs cannot send the information back to n8n. I have tried both test and production urls, and have run out of steam a bit now as it seems I have tried everything I could over the past 2-3 days. Not sure what else I could try.

Would it help if I shared my workflow here?

@Abhishek_Luthra Yes feel free to share the workflow, maybe it will help if we take a look.

Thanks. Upon further research, I read that having two workflows would help resolve the issue, so I did that, but still that did not help. I used the production url, where both workflows were published.

I had connected the two workflows as well, as suggested. I have included both here. Thanks for your help.

Voice Agent Workflow 2.json (3.5 KB)

Voice Agent Workflow 1.json (3.4 KB)

Hey @Abhishek_Luthra I was not able to configure it as well, because from my investigation ElevenLabs will send the conversation only when it is over, so the issue here is only with using the testing option.

In production this shouldn’t cause any issues.

I assume you can also add a call in ElevenLabs when the conversation starts, and in that case my logic is that you trigger the workflow extract the conversation_id or whatever it is called and then do pooling until the conversation is over, once the conversation is over you will have the full info.

Hope that helps!

Voice Agent.json (7.5 KB)

1 Like

Why don’t you simple set in 11labs dashboard a Post-call webhook?

It will send by itself when call ends.

Be sure you select the transcript in Advanced tab, and then create a webhook in Security.

Cheers!

Hi @Parintele_Damaskin I tried the post-call webhook by copying the production url from n8n into the security tab, and checked that the audio and transcript parameters were added under the advanced tab by default, but I couldn’t get successful executions in n8n, and hence nothing came through in the editor either. I am not sure why this would have happened.

@Uros_Zdravkovic thank you very much for the updated JSON workflow. I made a couple of minor tweaks and it seems like it is now working.

Thank you both very much for your suggestions. Over the next few days, I will keep refining the workflow and let you know if I get stuck again! Thanks again.

@Abishek you are welcome!

If you found my suggestion useful it will mean a lot to mark it as solution :slightly_smiling_face:

Sure @Uros_Zdravkovic - i’ve done so now.

Lol… that’s why I like you guys. @Abhishek_Luthra and @Uros_Zdravkovic

Basically 11labs is sending “signals” over http/websocket with everything happens during/after the calls.

But we like to fetch them “n” times to find what you need.

P.S is like they offer you “door to door” the informations you need, but you prefer go yourself and knock at their door to ask “n” times if the call is done or anything you wanna know about that.

That’s the “definition” of a WEBHOOK (get delivered all the informations, just filter them) , but yeah everyone can build as they wish!

Cheers!

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