Skip to content
Trengo logo

Connectors / Customer service · HTTP Connector

Trengo integration and API

Create a ticket, send a ticket message and create a contact in Trengo, and start a workflow when Trengo sends “Inbound message received”.

What can you do with Trengo on Tray.ai?

Trengo is a shared customer inbox that brings email, WhatsApp, live chat, voice and social messages into one ticketing workspace for support and sales teams. Tray.ai connects to Trengo through the HTTP Connector, so your workflows can call the Trengo API alongside the rest of your stack.

  • When Trengo sends “Ticket created”, match the sender to an account in your CRM.
  • When Trengo sends “Voice call missed”, create a callback task in your CRM.
  • Send a WhatsApp template to confirm each order shipped from your ecommerce platform.
  • Send a satisfaction survey from your survey tool when Trengo sends “Ticket closed”.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://app.trengo.com/api/v2

Set it up

Connect Trengo to Tray.ai

Each step uses Trengo's own API details, from its documentation.

Save Trengo's API token

Save the token Trengo issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Point the HTTP Client at the API

Add an HTTP Client step and use https://app.trengo.com/api/v2 as the base URL. Or paste a cURL example from Trengo's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List tickets”

It's one of 21 documented actions, under Tickets. The response comes back as data the next step can map into your other apps.

Start workflows from Trengo events

Give Trengo the URL of a Tray.ai webhook trigger. “Inbound message received” can then start a workflow, and so can 11 other events.

Workflows to build with Trengo

Connect Trengo with HubSpot, Jira and Shopify

Each one uses actions and events from Trengo's own API documentation.

Add new Trengo contacts to HubSpot

When

Contact created

Then

  1. Get a contact for the full details
  2. Create or update the contact in HubSpot

With HubSpot

Escalate labeled Trengo tickets to Jira

When

Ticket label added

Then

  1. List ticket messages for context
  2. Create an issue in Jira with the conversation

With Jira

Send WhatsApp shipping updates for Shopify orders

When

An order ships in Shopify

Then

  1. Create a contact if the customer is new
  2. Send a WhatsApp template with the shipping update

With Shopify

Apps you can build on Trengo data

Internal tools your team can build with an AI assistant, each one using Trengo calls from its API documentation.

Support team dashboard

Shows reporting metrics and agent performance so support leads can see workload and response times.

Ticket assignment board

Lists open tickets with their messages and lets a lead assign or close each one.

Customer contact lookup

Finds a contact and their tickets so an agent sees the history and can update contact details.

Give your AI agents Trengo tools

Build an MCP server on Trengo in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List tickets
  • Send a ticket message
  • List contacts
  • Send a WhatsApp template
  • Create a card
  • Get reporting metrics
  • Create a ticket
  • Assign a ticket

What the Trengo API covers

6 resources and 21 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Tickets

  • List tickets
  • Create a ticket
  • Assign a ticket
  • Close a ticket

Messages

  • Send a ticket message
  • List ticket messages
  • Fetch an email message

Contacts

  • List contacts
  • Get a contact
  • Create a contact
  • Update a contact
  • Delete a contact

WhatsApp templates

  • Send a WhatsApp template
  • Create a WhatsApp template
  • List WhatsApp templates

Board cards

  • Create a card
  • Update a card
  • Delete a card

Reports

  • Get reporting metrics
  • Get agent performance
  • Get ticket details report

Events Trengo can send to a Tray.ai webhook trigger

  • Inbound message received
  • Outbound message sent
  • Internal note created
  • Ticket created
  • Ticket assigned
  • Ticket closed
  • Ticket reopened
  • Ticket label added
  • Voice call ended
  • Voice call missed
  • Contact created
  • Contact updated

Checked against Trengo's own documentation on 2026-10-22

developers.trengo.com/docs/reference

Frequently asked questions

What can a Tray.ai workflow do in Trengo?

The Trengo API documents 21 actions across 6 resources (Tickets, Messages, Contacts, WhatsApp templates, Board cards, Reports). For example: List tickets; Send a ticket message; List contacts. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Trengo?

The Trengo API uses a bearer token. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Trengo events can start a Tray.ai workflow?

Trengo sends 12 events to a webhook URL, for example: Inbound message received; Outbound message sent; Internal note created; Ticket created; Ticket assigned; Ticket closed; Ticket reopened; Ticket label added. A Tray.ai webhook trigger receives them and starts a workflow.

See Trengo working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great, a couple more details

This helps us connect you with the right person. Optional, and you can skip it.