Custom Application – Event Type Setup Guide
The Event Type Custom Application allows you to define and manage event-driven integrations directly in Thunai. You can create an event type app, configure multiple webhooks under it, and connect them with your external applications.
Step 1: Create an Event Type App
- From the sidebar, click Applications.
- Click the MCP Tool button. This will redirect you to the MCP page.
Click the Create button.
Fill in the following details:
- App Name – Provide a unique name for your app.
- Type – Select Event.
- Logo (optional) – Upload a logo for your app.
- Description (optional) – Add a short description.
- Click Create.
Your Event Type App is now created.
Step 2: Add Webhooks to the Event App
- Open your newly created Event Type App.
Click to create a new Webhook.
Fill in the webhook details:
- Name – Enter a name for the webhook.
- Description – Provide a short description.
Webhook Fields – Define the structure of your data in JSON format.
These fields should match the schema of your integration app.
Primary Key – Select a field to act as the primary key.
Note: The primary key must be included in the schema fields.
- Click Create.
The webhook will now be added under your Event Type App.
Step 3: View Webhook Integration Details
- Once the webhook is created, open it to view the cURL command.
- This cURL command can be used to integrate your webhook with other applications.
Use Cases
Event Type Custom Applications are useful for:
- Real-time data exchange between Thunai and third-party apps.
- Triggering workflows in external applications whenever specific events occur.
- Building custom integrations without complex middleware.