Set Up an API Integration Script in Wabo.ai
Wabo.ai allows seamless third-party integrations through custom API scripts. Whether you're syncing data, connecting external systems, or managing contacts — this guide will walk you through creating an API integration in Wabo.ai’s API Library.
Step-by-Step Guide to Creating an API Integration Script
Step 1: Access the API Library
-
Log in to your Wabo.ai dashboard.
-
From the top menu bar, navigate to API Library.
-
Click the "Create" button at the top-right corner of the page to begin.
Step 2: Enter Basic API Details
-
API Name: Enter a meaningful name for your API integration.
-
Method: Choose the request method from the dropdown:
-
GET, POST, PUT, PATCH, DELETE
-
🔁 For POST, PUT, and PATCH requests, Wabo supports two payload types:
JSON
Form Data
Method | URL ✅ | Payload Type | Header ✅ | Payload ✅ | Function ✅ |
---|---|---|---|---|---|
POST | ✅ | JSON / Form Data | ✅ | ✅ | ✅ |
PUT | ✅ | JSON / Form Data | ✅ | ✅ | ✅ |
PATCH | ✅ | JSON / Form Data | ✅ | ✅ | ✅ |
DELETE | ✅ | ❌ | ✅ | ❌ | ❌ |
GET | ✅ | ❌ | ✅ | ❌ | ❌ |
Step 3: Configure the API Endpoint
-
Enter the API URL you want to connect to.
-
Wabo also lets you dynamically insert contact properties into the URL using predefined variables.
Step 4: Add Headers (Optional)
-
Enable the “Add Header” checkbox to add custom headers.
-
You can add multiple headers based on your requirements.
-
Just like the URL, you can insert contact properties into header values dynamically.
Step 5: Define the Payload (for POST/PUT/PATCH)
-
If your request requires a body (payload), enter it in the Payload section.
-
This is where you can send data between APIs by using mapped fields.
Step 6: Apply Transformations Using Functions
-
If you need to modify or format data (e.g., remove a country code from a phone number), use the Function to Handle Payload section.
-
Click on the “Run Code” button to test your transformation logic.
Step 7: Test the API
-
Once everything is set up, click on “Run Test” at the top-right to validate your API integration.
-
This helps ensure the script runs correctly before saving.
Step 8: Save the API Script
-
If the test runs successfully, click on the “Save” button at the bottom-right to save your API integration.
✅ You’ve now successfully created an API integration script in Wabo.ai!
This powerful module ensures you can easily integrate external services with your workflows — all from within your Wabo dashboard.