
Connectors / Data and analytics · HTTP Connector
Automate Apify with Tray.ai
Create an Actor, run a task and create a schedule in Apify, and start a workflow when Apify sends “Actor run created”.
What can you do with Apify on Tray.ai?
Apify is a web scraping and browser automation platform where you run ready-made or custom scrapers, called Actors, and store the data they collect. Tray.ai connects to Apify through the HTTP Connector, so your workflows can call the Apify API alongside the rest of your stack.
- When Apify sends “Actor run succeeded”, load the dataset into your data warehouse.
- When Apify sends “Actor run failed”, alert the data team in team chat.
- Run a task every morning to collect competitor prices for the pricing team.
- Connects through
- HTTP Connector
- Authentication
- A bearer token or an API key in the query string
- Base URL
- https://api.apify.com/v2
Set it up
Connect Apify to Tray.ai
Each step uses Apify's own API details, from its documentation.
Step 1
Save Apify's API token
Save the token Apify 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://api.apify.com/v2 as the base URL. Or paste a cURL example from Apify's API docs, and Tray.ai fills in the method, URL, and headers.
Step 3
Start with “List Actors”
It's one of 16 documented actions, under Actors. The response comes back as data the next step can map into your other apps.
Step 4
Start workflows from Apify events
Give Apify the URL of a Tray.ai webhook trigger. “Actor run created” can then start a workflow, and so can 6 other events.
Workflows to build with Apify
Each one uses actions and events from Apify's own API documentation.
Load scraped data into Snowflake after each Apify run
When
Actor run succeeded
Then
- Get dataset items from the finished run
- Load the items into a table in Snowflake
With Snowflake
Alert the data team in Slack when an Apify run fails
When
Actor run failed
Then
- Get a run log for the failed run
- Post the error to the data team channel in Slack
With Slack
Track competitor prices in Google Sheets
When
On a schedule
Then
- Run a task that scrapes competitor pricing pages
- Get dataset items once the run finishes
- Add the prices to the tracking sheet in Google Sheets
With Google Sheets
Apps you can build on Apify data
Internal tools your team can build with an AI assistant, each one using Apify calls from its API documentation.
Scraper run monitor
Lists recent scraper task runs, shows logs for failed ones, and lets an engineer abort a stuck run.
Competitor price tracker
Runs a saved scraping task on a schedule and shows the collected prices from its dataset in a table.
Scraper catalog
Lists the team's Actors and lets a user start a run with their own input and view the results.
Give your AI agents Apify tools
Build an MCP server on Apify 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 Actors
- Get a run
- Run a task
- Get dataset items
- List keys
- Create a schedule
- Create an Actor
- Run an Actor
What the Apify API covers
6 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.
Actors
- List Actors
- Create an Actor
- Run an Actor
Actor runs
- Get a run
- Abort a run
- Get a run log
Actor tasks
- Run a task
- List task runs
Datasets
- Get dataset items
- Store dataset items
Key-value stores
- List keys
- Get a record
- Store a record
- Delete a record
Schedules
- Create a schedule
- Update a schedule
Events Apify can send to a Tray.ai webhook trigger
- Actor run created
- Actor run succeeded
- Actor run failed
- Actor run aborted
- Actor run timed out
- Actor build succeeded
- Actor build failed
Checked against Apify's own documentation on 2026-10-22
How Tray.ai makes this work
Apify 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 Apify — with guardrails, audit, and human-in-the-loop.
Learn more →Agent Gateway for MCP
Expose Apify actions as governed MCP tools — observable, rate-limited, authenticated.
Learn more →Tray Helix
Build apps on Apify data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn more →More data and analytics apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every data and analytics connector →
Frequently asked questions
What can a Tray.ai workflow do in Apify?
+
The Apify API documents 16 actions across 6 resources (Actors, Actor runs, Actor tasks, Datasets, Key-value stores, Schedules). For example: List Actors; Get a run; Run a task. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with Apify?
+
The Apify API uses 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 Apify events can start a Tray.ai workflow?
+
Apify sends 7 events to a webhook URL, for example: Actor run created; Actor run succeeded; Actor run failed; Actor run aborted; Actor run timed out; Actor build succeeded; Actor build failed. A Tray.ai webhook trigger receives them and starts a workflow.
See Apify 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.