Look up data
Fetch a customer, order or booking from your own system.
Take an action
Create a ticket, update a CRM record or send data to a webhook.
Reshape data
Clean up or combine data with a few lines of JavaScript.
Remember things
Store small bits of data between runs in the built-in datastore.
The Tools page
Open Tools in the sidebar. The page has four tabs:
The Tools tab lists each tool with these columns:
Use the search box to find a tool by name or description. You can also filter by type or by campaign.
Create a tool
1
Click Create Tool
On the Tools tab, select Create Tool.
2
Name and describe it
Give the tool a Name (letters, numbers, underscores and hyphens only, no spaces), for example
get_customer_info.Then write a Description that says what the tool does and when the AI should use it. AI agents read this text to decide whether to call your tool, so a clear description matters.3
Choose a type
Pick API Call or JavaScript Script (see below).
4
Configure, test and publish
Set up the tool, run a test, then publish it.
Which type should I use?
API Call tools
An API tool sends an HTTP request to a service when it runs.- Method and Endpoint URL: choose the HTTP method and enter the URL. Use
{parameter}for values that change on each call, for examplehttps://api.example.com/orders/{order_id}. - Headers: add any headers the service needs.
- Authentication: choose a saved credential, or select New Resource to create one (see Authentication).
JavaScript Script tools
A script tool runs your JavaScript each time it is called. It receives the tool’s input, does its work and returns a result. The editor has real-time testing, so you can run it and see its output and logs before you publish. If your script imports another tool, the editor warns you when it uses an older version. Update the import, then deploy and test again to use the newer version.Input and output schema
Open the Schema tab to describe your tool using JSON Schema:- Input JSON Schema: the information the tool expects, for example an
order_idstring. - Output JSON Schema: the shape of what it returns.
- Sample Result: an example of a typical result.
Authentication
API tools can authenticate with your service. Credentials are encrypted and stored securely. They are never shown again in plain text after you save them.For mutual TLS, the private key must not be passphrase-protected. Export
it without a passphrase and try again if you see an error.
Test your tool
Use the Test panel next to the editor.- In Mock Input, enter the JSON the tool should receive, for example
{ "order_id": "12345" }. - Select Run Test.
- Check the Output tab for the result and the Logs tab for details. The status shows
SUCCESSorERROR.
Versions, drafts and publishing
Every save creates a new version of your tool, so you can see what changed and go back.- Use the version selector at the top of the editor to switch between versions.
- When you save or deploy, choose Auto-increment (Connectly picks the next number) or Custom version (for example
2.0.0). A custom version must be higher than the current one. - A tool starts as a Draft. Select Publish to make it available. You need to save or deploy your latest changes before you can publish.
Monitor your tools
Executions
The Executions tab lists every run, newest first, and updates as new runs arrive. For each run you can see the time, tool, status, duration and status code. Select a run to open its logs, including the execution, session and room it belongs to. Narrow the list with filters:- Tool: pick one tool, or search by name (use
|to search for several). - Status:
SuccessorFailed. - Time range: from 15 minutes up to 15 days, or a custom range.
- Execution ID, Session ID or Room ID: jump straight to one conversation or run.
Success rate
The Activity column on the Tools tab shows how healthy each tool is at a glance. A drop in success rate is usually the first sign that an external service is down or a credential has expired.Datastore
The Datastore is durable key/value storage that your tools can read and write while they run, for example to remember a customer’s last choice.- Browse and filter keys by prefix, and see each key’s value, size and last update.
- Add, edit or remove keys. Changes take effect immediately.
- Roll back to an earlier point. You can restore any moment within the rewind window shown on the page. Connectly saves a restore point of the current state first, so a rollback can itself be undone.
Share a tool
You can share a tool with another business.- Open the tool’s Share action from the Tools list.
- Enter the other business’s ID and select Share.
- To stop sharing, select Unshare next to that business.
Delete a tool
Select Delete on the tool’s row. This removes the tool and all its versions, and it cannot be undone. Tools that power a WhatsApp Flow are managed with the flow. They are deleted automatically when the flow is deleted or deprecated. See WhatsApp Flow builder.Troubleshooting
Next steps
WhatsApp Flow builder
Build forms inside WhatsApp, and connect them to a tool.
WhatsApp Flows API
Send a flow from your own system.
