Macha

How to Connect a Custom Tool to Your Zendesk AI Agent (Any API)

Macha Team

Written by

Macha Team

Last edited June 12, 2026

Zendesk Expert Reviewed

Verified

Macha ships with connectors for the apps most support teams use — Zendesk, Shopify, Stripe, Slack, Notion, and more — and each one gives your agents a set of ready-made tools. But your stack has things Macha doesn't have a built-in connector for: an internal shipping API, a billing system, a homegrown service. Custom tools close that gap. If an app has an API endpoint, you can turn it into a tool your agent calls — so a Zendesk ticket can trigger an action in your systems, not just the ones with a logo in the catalog.

How to Connect a Custom Tool to Your Zendesk AI Agent (Any API)

Here's how to connect one.

What a custom tool is

A connector is a pre-built integration Macha maintains. A custom tool is one you define: a single HTTP endpoint, wrapped so an agent can call it exactly like a built-in tool. Once it's saved, any agent you allow can use it — to look up a record, kick off a job, send a message, whatever the endpoint does.

It's an org-level resource: you build it once, then assign it to as many agents as you like.

Watch it in two minutes

Two ways to build one

From the Custom Tools tab you have two options, both top-right:

  • Create Custom Tool — configure it manually (full control).
  • Build with AI — the AI Tool Builder (powered by Sidekick) walks you through it conversationally and tests it for you.

We'll cover the manual way in detail, then the AI way.

The Custom Tools tab — build a tool manually or with the AI Tool Builder, grouped by app.
The Custom Tools tab — build a tool manually or with the AI Tool Builder, grouped by app.

Building a custom tool manually

Click Create Custom Tool and you get a single form with everything the endpoint needs — Label, Description, Method and URL, Read vs. Write, Authentication, Static Headers, Response Mapping, and Parameters:

The Create Custom Tool form — Label and Description, HTTP Method (GET/POST/…) and URL, Read vs. Write (write requires confirmation), Authentication, Static Headers, Response Mapping, and a Parameters panel on the right.
The Create Custom Tool form — Label and Description, HTTP Method (GET/POST/…) and URL, Read vs. Write (write requires confirmation), Authentication, Static Headers, Response Mapping, and a Parameters panel on the right.

Fill in the pieces:

1. Label. The name the AI sees (e.g., get_shipping_status). Keep it clear and action-oriented.

2. Description. What the tool does — "Look up the shipping status and tracking link for an order by order number." This matters more than it looks: the agent reads the description to decide when to use the tool, so a vague description means the agent uses it at the wrong time (or not at all). Be specific about what it does and what it needs.

3. Method + URL. Choose the HTTP method (GET, POST, PUT, etc.) and enter the endpoint URL. You can drop {{placeholders}} into the URL for values the agent fills in at call time — e.g. https://api.yourco.com/orders/{{order_id}}/shipping.

4. Authentication. Pick the auth type — Bearer, API Key, Basic, or None — and enter the details (for an API key, the header name and the key). Credentials are encrypted at rest.

5. Request body (for POST/PUT). Provide a body template, again with {{placeholders}} for the values the agent supplies.

6. Response mapping. Tell Macha which parts of the response to hand back to the agent, so it gets clean data instead of a raw blob.

7. Group (optional). Give the tool a group with a name, icon, and color so your Custom Tools list stays organized as it grows.

8. Test it. Use the built-in test endpoint to fire a real call and confirm it works before an agent ever uses it. Get the test passing, then save.

That's the whole manual flow — label and describe it, point it at the endpoint, add auth, map the response, test, save.

The faster way: the AI Tool Builder

If wiring auth headers and response mappings by hand isn't your idea of fun, let Sidekick do it. Build with AI is Sidekick — clicking it opens the Sidekick panel scoped to building a tool, with starters like "Connect Postmark for transactional email" or "Hook up a custom internal API."

“Build with AI” opens Macha Sidekick scoped to building a custom tool — describe the API (“Connect Postmark,” “Hook up a custom internal API”) and it assembles and tests the tool for you.
“Build with AI” opens Macha Sidekick scoped to building a custom tool — describe the API (“Connect Postmark,” “Hook up a custom internal API”) and it assembles and tests the tool for you.

Describe the API in plain language — "Connect our Postmark account so agents can send email" — and the AI Tool Builder walks through the method, URL, auth, parameters, and body, tests it against the live API, and saves the tool. Because it captures the working configuration from a successful test, you skip the trial-and-error of getting headers and mappings exactly right. (The AI Tool Builder is available on Professional and Enterprise; see Sidekick.)

Adding the tool to your agent

A custom tool isn't doing anything until an agent can use it. Open the agent you want to give it to, go to its Tools section, and toggle on the new custom tool — it appears right alongside the built-in Zendesk, Shopify, and other tools. Now, when the agent decides it needs that capability (based on the description you wrote), it can call your endpoint as part of resolving a ticket.

For example: add get_shipping_status to your support agent, and a "where's my order?" ticket can now be answered with live data from your shipping system — not just the connectors Macha ships with.

A few real uses

  • Internal systems — your order, billing, or account API, so agents answer with first-party data.
  • Tools without a built-in connector — anything with a REST endpoint becomes available.
  • Trigger jobs — POST to an internal endpoint to kick off a refund, a re-ship, or a provisioning task.
  • Enrichment — call a data provider to add context before the agent replies.

A worked example: connect your shipping API

Say you have an internal endpoint GET https://api.yourco.com/orders/{{order_id}}/shipping that returns an order's status and tracking link. To let your support agent use it:

  1. Custom Tools → Create Custom Tool.
  2. Label: get_shipping_status. Description: "Get the shipping status and tracking link for an order by its order number. Use this for 'where is my order' questions."
  3. Method / URL: GET, https://api.yourco.com/orders/{{order_id}}/shipping.
  4. Auth: API Key — header Authorization, your key.
  5. Response mapping: return status and tracking_url.
  6. Test with a real order ID, confirm it returns the right data, and Save.
  7. Open your support agent → Tools → toggle on get_shipping_status.

Now a "where's my order?" ticket gets answered with live data from your own system: the agent reads the order number from the ticket, calls your endpoint, and replies with the status and tracking link — fully autonomously if you've set a trigger.

Plan availability

Custom tool slots are part of the paid plans — Professional includes 5 and Enterprise 20 (slots count per assignment, so the same tool on three agents uses three slots). The AI Tool Builder is on Professional and Enterprise. 7-day free trial, no credit card required.

Best practices

  • Write the description for the AI. It's how the agent decides when to call the tool — be specific.
  • Test before you ship. Use the built-in test endpoint and confirm a real call works.
  • Scope auth tightly. Use a key with only the permissions the tool needs; credentials are encrypted, but least-privilege still matters.
  • Be deliberate with write actions. A tool that changes something (a refund, a cancellation) deserves extra care — consider keeping it on agents that confirm before acting.
  • Group your tools so the list stays manageable as you add more.

Frequently asked questions

What's the difference between a connector and a custom tool? A connector is a pre-built integration Macha maintains (Zendesk, Shopify, etc.). A custom tool is one you define from any API endpoint.

What do I need to connect a custom tool? An API endpoint, its method and URL, and the authentication details. That's it.

Do I have to configure it by hand? No — the AI Tool Builder (Build with AI) walks through it conversationally and tests it for you.

How does the agent know when to use the tool? From the description you write. A clear, specific description is the single most important field.

Can the same tool be used by multiple agents? Yes — it's an org-level resource; assign it to any agent via the Tools toggle (each assignment uses a slot).

The bottom line

Custom tools mean your agents aren't limited to the apps in Macha's catalog. If it has an API, your agent can use it — built by hand for full control, or by chat with the AI Tool Builder. Describe it well, test it, add it to your agent, and a Zendesk ticket can now reach straight into your own systems.

Give your agent a new capability: connect a custom tool from any API in minutes. 7-day free trial, no credit card required. Start free.

Zendesk
5.0 on Zendesk Marketplace

Loved by support teams worldwide

See what support teams are saying about Macha AI.

The application seems excellent to me! We are still testing, and we need support for some details and they were extremely efficient too!

Daniela Costa

Daniela Costa

Head of Support, Seabra

Macha has been a great addition to our support toolkit. It generates clear, well-organized responses that fit naturally into our workflow. One feature we particularly appreciate is its ability to automatically reply in the same language as the ticket.

Marius F

Marius F

Support Head, Zentana

We've been using Macha for a little while now and it's been really great addition so far! It's powerful, convenient, and makes getting work done a lot easier for our agents.

Alexander Wedén

Alexander Wedén

Head of Support

Support team is very helpful and responsive. Really enjoy how lightweight this is within Zendesk itself vs other more intrusive tools.

Cathleen Wright

Cathleen Wright

Zendesk Admin, Cortex IO

So far it's pretty good! Our queries are a little nuanced, so we can't always use it, but it's got enough utility for us. It can even incorporate our bilingual country with greetings in a second language.

Jae Oliver

Jae Oliver

Head of Support, Wise

Really enjoying using Macha, it has made a noticeable difference to our support team in a short amount of time. I really like the ticket summary feature, saves us a lot of time.

Harry Jackson

Harry Jackson

Head of Support, Crumb

Macha AI is a great addition to my workspace! It's powerful, convenient, and it really makes productivity so much easier for our agents!

Dave G

Dave G

Head of Support, Cyber Power Systems

Very impressed! AI integration for Zendesk has certainly come a long way and Macha seems to set the standard for now. This will for sure save lot of time in our support team.

Pauli Juel

Pauli Juel

Head of CS, Dokument24

Macha has been working great for us so far! The auto-responses are accurate and our resolution time has dropped significantly.

Lana T

Lana T

Zendesk Admin, Swotzy

Macha AI is a great addition. The knowledge base feature means our agents always have the right answers at their fingertips.

Mischa Wolf

Mischa Wolf

Head of Support, Topi

We're enjoying this integration so far. It's made our support team more efficient and our customers get faster responses.

Paula G

Paula G

Head of Customer Support, Xly Studio

The team enjoys using it. It saves considerable time on common questions and the integration options are excellent.

Kilian Leister

Kilian Leister

Support Head, Didriksons

Ready to supercharge your team with AI?

Get started in minutes. Connect your tools, configure your agents, and let AI handle the rest.