How

How to Use Webhooks with Aicado's AI Integration Module

How to Use Webhooks with Aicado's AI Integration Module

How to Use Webhooks with Aicado's AI Integration Module

How to Use Webhooks with Aicado's AI Integration Module

May 12, 2025

Webhooks are a powerful tool to enable real-time communication between your app and Aicado. With Aicado’s webhook support, you can send notifications and manage specific types of data using custom parameters. This allows seamless data exchange and automation for tasks like creating PDF automatically after a conversation with a chatbot.

Visit here for more detailed information What is Webhooks?

Webhooks are automated messages sent from one application to another in real-time when a specific event occurs. They enable instant data sharing without the need for manual requests.

Why Use the Webhooks?

Webhooks streamline processes by enabling real-time communication and automation. They’re ideal for tasks like:

  • Notifications

  • Data syncing

  • Triggering workflows

How Does It Work?

When an event happens, a webhook sends a POST request with data to a specified URL. Your application processes this data to perform the desired action, such as:

  • Updating a database

  • Sending alerts

  • Triggering a new task

Setting Up Webhooks Access the Embeddable AI Tool:

  • Log in to your Aicado account.

  • Navigate to the Embeddable AI Tool section.

  • If you haven't created one yet, click here to set it up.

Generate & Configure the Webhook URL:

  • Click the Features tab and enable the "Webhook" option to generate a unique webhook URL.

  • Go to your application's settings or configuration panel.

  • Copy the generated webhook URL and paste it into the relevant input field in your Aicado application's settings.

Custom Parameters Define Custom Parameters:

  • Custom parameters allow you to pass specific data between your application and the AI model.

  • Configure these parameters in the Embeddable AI Tool to suit your needs.

Assign Custom Parameters:

  • While configuring the webhook, assign relevant data values such as user_id, session_id, or timestamp based on the data you want to track or manage.

  • Some parameters are restricted from Aicado — learn more.

Handling Webhook Events Receive and Process Webhook Events:

  • When the AI model is triggered, Aicado sends a POST request to the configured webhook URL, including custom parameters and the AI model's response.

  • Ensure your application can handle these POST requests and process the data effectively.

  • Use the custom parameters to organize and store the data as needed (e.g., storing responses in a database or triggering specific actions).

Learn Visually — Learn how to add webhooks as an advanced feature into your customizable AI chatbot that can respond to your needs in your Bubble app! Watch now ← No-code needed! What Can You Do with Your Webhooks? Real-Life Story

A doctor uses Aicado's chatbot to provide tailored medication advice to pregnant patients.

Real-Time Responses:

  • When a patient describes their symptoms, the AI model processes the information and sends a list of safe medications for pregnant women via a webhook.

Track User Sessions:

  • Parameters like patient_id and session_id allow the doctor to track individual consultations and maintain patient history.

Data Storage:

  • The chatbot compiles a detailed summary of each consultation, including medication suggestions and usage guidelines.

  • Automatically generates a PDF report and sends it to the patient.

Benefits:

  • Faster Diagnoses: Doctors can quickly identify treatment options.

  • Increased Efficiency: Less time on admin tasks, more focus on care.

  • Enhanced Patient Satisfaction: Patients receive clear, organized reports.

By integrating Aicado’s chatbot with a webhook setup, healthcare professionals can streamline their workflow, deliver personalized care, and enhance the overall patient experience.