Skip to content
Faraday logo

Connectors / Data and analytics · HTTP Connector

Faraday integration and API

Create a dataset, create a cohort and create an outcome in Faraday, and start a workflow when Faraday sends “Resource errored”.

What can you do with Faraday on Tray.ai?

Faraday is a customer prediction platform that uses first-party and third-party data to score leads, build cohorts and forecast customer behavior. Tray.ai connects to Faraday through the HTTP Connector, so your workflows can call the Faraday API alongside the rest of your stack.

  • When Faraday sends “Resource ready with update”, refresh lead scores in your CRM.
  • Alert the data team in your team chat when Faraday sends “Resource errored”.
  • Add an upload of new customer records from your data warehouse each night.
  • Download a target CSV and load it into your marketing platform for the next campaign.
Connects through
HTTP Connector
Authentication
A bearer token
Base URL
https://api.faraday.ai/v1

Set it up

Connect Faraday to Tray.ai

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

Save Faraday's API token

Save the token Faraday 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://api.faraday.ai/v1 as the base URL. Or paste a cURL example from Faraday's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List datasets”

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

Start workflows from Faraday events

Give Faraday the URL of a Tray.ai webhook trigger. “Resource errored” can then start a workflow, and so can 1 other event.

Workflows to build with Faraday

Connect Faraday with Snowflake, HubSpot, Slack and Jira

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

Load Faraday predictions into Snowflake when they refresh

When

Resource ready with update

Then

  1. Download a target CSV from Faraday
  2. Load the scores into the customer tables in Snowflake

With Snowflake

Send new HubSpot contacts to Faraday for scoring

When

On a schedule

Then

  1. Export new contacts from HubSpot
  2. Add an upload to Faraday with the contact file

With HubSpot

Alert data teams in Slack when a Faraday resource errors

When

Resource errored

Then

  1. Post the resource name and error to the data channel in Slack
  2. Create a Jira issue for the data team to fix it

With Slack and Jira

Apps you can build on Faraday data

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

Cohort catalog

Lists cohorts and the datasets behind them, and lets an analyst archive one no longer in use.

Prediction outcome report

Lists outcomes and downloads each report so marketing can compare how predictions perform.

Customer score lookup

Looks up a customer in a target to show their prediction scores to sales or support staff.

Give your AI agents Faraday tools

Build an MCP server on Faraday 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 datasets
  • List cohorts
  • List outcomes
  • Create a target
  • List uploads
  • Create a webhook endpoint
  • Create a dataset
  • Update a dataset

What the Faraday API covers

6 resources and 20 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.

Datasets

  • List datasets
  • Create a dataset
  • Update a dataset
  • Delete a dataset

Cohorts

  • List cohorts
  • Create a cohort
  • Update a cohort
  • Archive a cohort

Outcomes

  • List outcomes
  • Create an outcome
  • Download an outcome report

Targets

  • Create a target
  • Look up a target
  • Download a target CSV

Uploads

  • List uploads
  • Add an upload
  • Delete an upload

Webhook endpoints

  • Create a webhook endpoint
  • List webhook endpoints
  • Delete a webhook endpoint

Events Faraday can send to a Tray.ai webhook trigger

  • Resource errored
  • Resource ready with update

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

faraday.ai/developers/reference

Frequently asked questions

What can a Tray.ai workflow do in Faraday?

The Faraday API documents 20 actions across 6 resources (Datasets, Cohorts, Outcomes, Targets, Uploads, Webhook endpoints). For example: List datasets; List cohorts; List outcomes. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Faraday?

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

Which Faraday events can start a Tray.ai workflow?

Faraday sends 2 events to a webhook URL, for example: Resource errored; Resource ready with update. A Tray.ai webhook trigger receives them and starts a workflow.

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