Skip to content
Talkable logo

Connectors / Marketing · HTTP Connector

Automate Talkable with Tray.ai

Create a purchase, update a person and update a loyalty member in Talkable, and start a workflow when Talkable sends “Referral”.

What can you do with Talkable on Tray.ai?

Talkable is a referral and loyalty marketing platform that runs refer-a-friend campaigns, issues rewards and coupons, and tracks advocates and the friends they refer. Tray.ai connects to Talkable through the HTTP Connector, so your workflows can call the Talkable API alongside the rest of your stack.

  • When Talkable sends “Referral”, add the referred friend as a lead in your CRM.
  • Create a purchase in Talkable each time an order is paid in your ecommerce system.
  • Email the advocate through your marketing platform when Talkable sends “Reward”.
  • Adjust points balance in Talkable when a return is processed in your order system.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://www.talkable.com/api/v2

Set it up

Connect Talkable to Tray.ai

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

Step 1

Save Talkable's API token

Save the token Talkable 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.

Step 2

Point the HTTP Client at the API

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

Step 3

Start with “Find a person”

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

Step 4

Start workflows from Talkable events

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

Workflows to build with Talkable

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

Send Shopify orders to Talkable as purchases

When

An order is paid in Shopify

Then

  1. Create a purchase in Talkable with the order and coupon used
  2. Find a person to confirm the referral was credited

With Shopify

Add Talkable advocates to HubSpot

When

Advocate signup

Then

  1. Create or update the contact in HubSpot
  2. Add the contact to the referral advocates list in HubSpot

With HubSpot

Log Talkable rewards in Google Sheets for finance

When

Reward

Then

  1. Get rewards received by person for the advocate
  2. Add the reward, person and amount to the rewards sheet in Google Sheets

With Google Sheets

Apps you can build on Talkable data

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

Referral campaign report

Lists referral campaigns and shows key metrics for each one.

Advocate support lookup

Finds a customer, shows their referral rewards and loyalty points, and lets support adjust points.

Coupon check tool

Looks up a coupon code and checks whether it belongs to the customer asking.

Give your AI agents Talkable tools

Build an MCP server on Talkable 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

  • Create a purchase
  • Find a person
  • Find a loyalty member
  • List campaigns
  • Find a coupon
  • Create an event
  • Create an affiliate member
  • Create batch of purchases

What the Talkable API covers

5 resources and 15 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.

Origins

  • Create a purchase
  • Create an event
  • Create an affiliate member
  • Create batch of purchases

People

  • Find a person
  • Update a person
  • Get rewards received by person
  • Anonymize a person

Loyalty members

  • Find a loyalty member
  • Update a loyalty member
  • Adjust points balance

Campaigns

  • List campaigns
  • Calculate a metric

Coupons

  • Find a coupon
  • Check coupon ownership

Events Talkable can send to a Tray.ai webhook trigger

  • Referral
  • Reward
  • Post share
  • Advocate signup
  • Unsubscribe
  • Create coupon

Checked against Talkable's own documentation on 2026-11-08

docs.talkable.com/api_v2

Frequently asked questions

What can a Tray.ai workflow do in Talkable?

+

The Talkable API documents 15 actions across 5 resources (Origins, People, Loyalty members, Campaigns, Coupons). For example: Create a purchase; Find a person; Find a loyalty member. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Talkable?

+

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

Which Talkable events can start a Tray.ai workflow?

+

Talkable sends 6 events to a webhook URL, for example: Referral; Reward; Post share; Advocate signup; Unsubscribe; Create coupon. A Tray.ai webhook trigger receives them and starts a workflow.

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