Instead of a chat trigger, I'd like to use a webhook for the chat interactions. I'm looking to achieve this via an API call, whether it's the user replying or the AI responding. Is this feasible? Do you have any sample templates available for me to review?
It seems your topic is missing some crucial details. Could you please provide the following information, if it applies?
- callin.io version:
- Database (default: SQLite):
- callin.io EXECUTIONS_PROCESS setting (default: own, main):
- Running callin.io via (Docker, npm, callin.io cloud, desktop app):
- Operating system:
Hello,
Thanks for sharing your use-case with us here in the callin.io community.
Reading your comment, I believe the following examples may help you with your use-case:
Both are about using webhook with chat agents (google and liveagent ones).
If I understood your use-case correctly, you could link your webhook to an API call to an AI and return the response. In a high level, something like:
- Webhook - Capture the chat message.
- Decision - Decide whether the message is from the user or from the AI.
- API Call - If it’s from the user, pass the message to AI for processing (using a third-party service like OpenAI).
- Response - Return the AI-generated reply back to the chat system.
Let us know if that helps. Happy callin.io integration!
Flavio
Thank you! This will be very helpful. As AI is currently trending, I'm building with AI agents. Many tutorials I've seen utilize chat triggers, but I'm unable to locate any that use webhooks.
Could you please provide guidance on using webhooks with AI agents?
This thread was automatically closed 90 days following the last response. New replies are no longer permitted.