Skip to content
AI Agent with Webho...
 
Notifications
Clear all

AI Agent with Webhook Trigger

5 Posts
4 Users
0 Reactions
5 Views
felimarsalon
(@felimarsalon)
Posts: 2
New Member
Topic starter
 

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?

 
Posted : 05/09/2024 1:53 am
n8n
 n8n
(@n8n)
Posts: 97
Trusted Member
 

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:
 
Posted : 05/09/2024 1:53 am
Flavio_Orfano
(@flavio_orfano)
Posts: 1
New Member
 

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

 
Posted : 05/09/2024 7:10 am
felimarsalon
(@felimarsalon)
Posts: 2
New Member
Topic starter
 

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?

 
Posted : 05/09/2024 8:23 am
system
(@system)
Posts: 332
Reputable Member
 

This thread was automatically closed 90 days following the last response. New replies are no longer permitted.

 
Posted : 04/12/2024 8:23 am
Share: