
Connectors / Sales · HTTP Connector
Automate Cloze with Tray.ai
Create a person, create a company and create a project in Cloze, and start a workflow when Cloze sends “Person changed”.
What can you do with Cloze on Tray.ai?
Cloze is a relationship management CRM that builds contact and company records automatically from email, calendar and calls, and tracks deals as projects. Tray.ai connects to Cloze through the HTTP Connector, so your workflows can call the Cloze API alongside the rest of your stack.
- When Cloze sends “Person changed”, sync the contact's details to your marketing platform.
- Create a person in Cloze when someone signs up through your website form.
- When Cloze sends “Project changed”, update the matching deal in your reporting database.
- Create a company in Cloze when a new account is added in your billing system.
- Connects through
- HTTP Connector
- Authentication
- OAuth 2.0 or a bearer token or an API key in the query string
- Base URL
- https://api.cloze.com
Set it up
Connect Cloze to Tray.ai
Each step uses Cloze's own API details, from its documentation.
Step 1
Sign in to Cloze with OAuth 2.0
Set up an OAuth 2.0 authentication with the client ID and secret of an OAuth app you register with Cloze. Sign in once and every step reads the token from there.
Step 2
Point the HTTP Client at the API
Add an HTTP Client step and use https://api.cloze.com as the base URL. Or paste a cURL example from Cloze's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “Find people”
It's one of 24 documented actions, under People. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from Cloze events
Give Cloze the URL of a Tray.ai webhook trigger. “Person changed” can then start a workflow, and so can 2 other events.
Workflows to build with Cloze
Each one uses actions and events from Cloze's own API documentation.
Add Cloze companies to HubSpot when they change
When
Company changed
Then
- Get a company for the latest details
- Create or update the company in HubSpot
With HubSpot
Create a Cloze person from each new Pipedrive lead
When
A lead is added in Pipedrive
Then
- Find people to check for an existing record
- Create a person with the lead's name, email and company
- Create a to do for the owner to follow up
With Pipedrive
Post Cloze project updates to Slack
When
Project changed
Then
- Get a project for its stage and value
- Post the update to the sales channel in Slack
With Slack
Apps you can build on Cloze data
Internal tools your team can build with an AI assistant, each one using Cloze calls from its API documentation.
Deal project board
Lists deal projects by stage and lets a rep update a project or add a to do for the next step.
Account relationship view
Shows a company with its people and related projects so a rep can prepare for a meeting.
Team activity report
Shows team activity and lead qualification numbers by rep for weekly sales reviews.
Give your AI agents Cloze tools
Build an MCP server on Cloze 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 person
- Create a company
- Create a project
- Create a to do
- Query team activity
- Subscribe to change events
- Update a person
- Find people
What the Cloze API covers
6 resources and 24 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.
People
- Create a person
- Update a person
- Find people
- Get a person
- Delete a person
Companies
- Create a company
- Update a company
- Find companies
- Get a company
- Delete a company
Projects
- Create a project
- Update a project
- Find projects
- Get a project
- Delete a project
Timeline
- Create a to do
- Add a communication record
- Add a content record
Analytics
- Query team activity
- Query project data
- Query lead qualification data
Webhooks
- Subscribe to change events
- Cancel a subscription
- List subscriptions
Events Cloze can send to a Tray.ai webhook trigger
- Person changed
- Company changed
- Project changed
Checked against Cloze's own documentation on 2026-10-22
How Tray.ai makes this work
Cloze plugs into the whole Tray.ai platform
Intelligent Integration
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn more →Agent Builder
Build AI agents that read, write, and take action in Cloze — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Cloze actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Cloze data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More sales apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every sales connector →
Frequently asked questions
What can a Tray.ai workflow do in Cloze?
+
The Cloze API documents 24 actions across 6 resources (People, Companies, Projects, Timeline, Analytics, Webhooks). For example: Create a person; Create a company; Create a project. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Cloze?
+
The Cloze API uses OAuth 2.0, a bearer token, and an API key in the query string. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
Which Cloze events can start a Tray.ai workflow?
+
Cloze sends 3 events to a webhook URL, for example: Person changed; Company changed; Project changed. A Tray.ai webhook trigger receives them and starts a workflow.
See Cloze working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks — someone from our team will be in touch soon.