Skip to content
Flodesk logo

Connectors / Marketing · HTTP Connector

Flodesk integration and API

Create or update a subscriber, create a segment and add a subscriber to a workflow in Flodesk.

What can you do with Flodesk on Tray.ai?

Flodesk is an email marketing tool for growing subscriber lists, grouping subscribers into segments, and sending automated email workflows. Tray.ai connects to Flodesk through the HTTP Connector, so your workflows can call the Flodesk API alongside the rest of your stack.

  • When Flodesk sends “Subscriber unsubscribed”, update the contact's email preferences in your CRM.
  • Create or update a subscriber in Flodesk when a customer opts in at checkout in your online store.
  • Add a subscriber to a workflow in Flodesk when a new customer signs up, starting their welcome emails.
  • Add each new person to your CRM as a marketing lead when Flodesk sends “Subscriber created”.
Connects through
HTTP Connector
Authentication
Basic authentication or OAuth 2.0
Base URL
https://api.flodesk.com/v1

Set it up

Connect Flodesk to Tray.ai

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

Save Flodesk's username and password

Save the credentials Flodesk gives you as a Tray.ai authentication. The HTTP Client sends them as basic auth. They stay 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.flodesk.com/v1 as the base URL. Or paste a cURL example from Flodesk's API docs, and Tray.ai fills in the method, URL, and headers.

Start with “List subscribers”

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

Start workflows from Flodesk events

Give Flodesk the URL of a Tray.ai webhook trigger. “Subscriber created” can then start a workflow, and so can 2 other events.

Workflows to build with Flodesk

Connect Flodesk with Shopify, HubSpot and Stripe

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

Add new Shopify customers to a Flodesk welcome workflow

When

A customer is created in Shopify

Then

  1. Create or update a subscriber with the customer's email
  2. Add a subscriber to a workflow for new customers

With Shopify

Mark Flodesk unsubscribes in HubSpot

When

Subscriber unsubscribed

Then

  1. Find the matching contact in HubSpot
  2. Update the contact's email opt-out status in HubSpot

With HubSpot

Segment new Stripe subscribers in Flodesk by plan

When

A subscription is created in Stripe

Then

  1. Create or update a subscriber with the customer's email
  2. Add a subscriber to segments that match the plan

With Stripe

Apps you can build on Flodesk data

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

Subscriber lookup tool

Finds a subscriber and shows their segments so a marketer can add them to a segment or unsubscribe them.

Workflow enrollment manager

Lists email workflows and lets a team add or remove a subscriber from one.

List growth report

Counts new subscribers, segment adds and unsubscribes over time for a marketing review.

Give your AI agents Flodesk tools

Build an MCP server on Flodesk 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 subscribers
  • List segments
  • List workflows
  • List custom fields
  • List webhooks
  • Create or update a subscriber
  • Add a subscriber to segments
  • Unsubscribe a subscriber

What the Flodesk API covers

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

Subscribers

  • List subscribers
  • Create or update a subscriber
  • Add a subscriber to segments
  • Unsubscribe a subscriber

Segments

  • List segments
  • Create a segment
  • Get a segment

Workflows

  • List workflows
  • Add a subscriber to a workflow
  • Remove a subscriber from a workflow

Custom fields

  • List custom fields
  • Create a custom field

Webhooks

  • List webhooks
  • Create a webhook
  • Update a webhook
  • Delete a webhook

Events Flodesk can send to a Tray.ai webhook trigger

  • Subscriber created
  • Subscriber added to segment
  • Subscriber unsubscribed

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

developers.flodesk.com

Frequently asked questions

What can a Tray.ai workflow do in Flodesk?

The Flodesk API documents 16 actions across 5 resources (Subscribers, Segments, Workflows, Custom fields, Webhooks). For example: List subscribers; List segments; List workflows. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Flodesk?

The Flodesk API uses basic authentication and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Flodesk events can start a Tray.ai workflow?

Flodesk sends 3 events to a webhook URL, for example: Subscriber created; Subscriber added to segment; Subscriber unsubscribed. A Tray.ai webhook trigger receives them and starts a workflow.

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