https://retellai.com/?utm_source=discord&utm_medium=seo logo
Web Widget Troubles
# ❓・bug-report
d
Hello Everyone, I am trying to make a web widget on my website that can call the retell agent directly. I created the agent inside retell, created the button html and made the n8n workflow with a webhook, http request and a respond to webhook but whenever i click the button. it cycles through the workflow but i am unable to hear the agent. Inside Retell call history log, it says unsuccessful ( see attached photo). Any help would be appreciated please and Thank you!
s
HI @djdegen0x please check your n8n HTTP request and ensure it's calling /create-web-call not /create-phone-call Verify your webhook response returns the access token to your client and web call SDK Test on HTTPS so HTTP won't work for web calls also check browser console for permission errors or WebRTC failures
d
hish @shahretell this is what i have inside my http request
and this is what i have for my respond to webhook portion
s
Have you defined your agent id and passing json body content ?
d
hi Shah, i Believe i did inside the html widget, may i dm you so that we can go over it if possible
The agent id is defined ( see screenshot ) but im unsure about the passing json body content