Skip to content
Gupshup logo

Connectors / Communication · HTTP Connector

Automate Gupshup with Tray.ai

Send a text message and update profile details in Gupshup, and start a workflow when Gupshup sends “Inbound message”.

Great — a couple more details

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

See all connectors

What can you do with Gupshup on Tray.ai?

Gupshup is a conversational messaging platform that lets businesses send WhatsApp, SMS and other channel messages to customers at scale. Tray.ai connects to Gupshup through the HTTP Connector, so your workflows can call the Gupshup API alongside the rest of your stack.

  • When Gupshup sends “Inbound message”, open a conversation in your help desk with the customer's message.
  • Send a template message to confirm each new order from your e-commerce store.
  • When Gupshup sends “User opted out”, update the contact's messaging consent in your CRM.
  • When Gupshup sends “Template status update”, tell the marketing team in your team chat.
Connects through
HTTP Connector
Authentication
An API key in a request header
Base URL
https://api.gupshup.io

Set it up

Connect Gupshup to Tray.ai

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

Step 1

Save Gupshup's API key

Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

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

Step 3

Start with “List templates for an app”

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

Step 4

Start workflows from Gupshup events

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

What the Gupshup API covers

4 resources and 11 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.

Messages

  • Send a text message
  • Send a media message
  • Send a template message

Templates

  • List templates for an app
  • Get a template

Business profile

  • Get business details
  • Update profile details
  • Update profile photo

Blocked users

  • Block a user
  • Unblock a user
  • List blocked users

Events Gupshup can send to a Tray.ai webhook trigger

  • Inbound message
  • Message status update
  • Template status update
  • User opted in
  • User opted out
  • Billing event

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

docs.gupshup.io/reference/msg

Frequently asked questions

What can a Tray.ai workflow do in Gupshup?

+

The Gupshup API documents 11 actions across 4 resources (Messages, Templates, Business profile, Blocked users). For example: Send a text message; List templates for an app; Get business details. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Gupshup?

+

The Gupshup API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Gupshup events can start a Tray.ai workflow?

+

Gupshup sends 6 events to a webhook URL, for example: Inbound message; Message status update; Template status update; User opted in; User opted out; Billing event. A Tray.ai webhook trigger receives them and starts a workflow.

See Gupshup 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.