Skip to content
Apify logoApify logo

Apify Integrations

AI Web Scraping

Build Apify automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across Apify and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
2
available app actions
13
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

Apify MCP server: connect Apify to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with Apify and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my Apify account and help me build a Zap with Apify: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build Apify automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection apify

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to Apify and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use Apify and other apps.

Use a premade Apify automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the Apify triggers and actions your agent can build with right away.

  • Finished Actor Run

    Triggers when a run of the selected Actor finishes.

  • Finished Task Run

    Triggers when a run of the selected task finishes.

  • Abort Actor Run

    Aborts a ready or running Actor run by its ID. Use it to stop a run you no longer need or one that takes too long.

  • Run Actor

    Runs an Apify Actor with your input. To run a configuration saved in Apify Console, use Run Task instead.

  • Run Task

    Runs a saved Actor task. To run an Actor with custom input, use Run Actor instead.

  • Set Key-Value Store Record

    Creates or updates a record in a key-value store. Agents can use it as memory: save data here and read it later with Get Key-Value Store Record.

  • Run Actor and Fetch Results

    Runs an Actor, waits for it to finish, and returns the items from its default dataset. Best for Actors that finish in under 5 minutes. For longer runs, use Run Actor with "Run synchronously" set to "no", then Fetch Dataset Items.

  • Web Fetch

    Fetches a web page, PDF, or other file and returns it as Markdown, HTML, plain text, links, or raw content. It gets past bot protection, which makes it a good fit for large language model (LLM) workflows.

Your agent picks the right Apify action from what you ask. Connect Zapier once and it can use 15 Apify tools, each with typed inputs. Zapier handles Apify’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up Apify MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for Apify.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect Apify. It calls discover_zapier_actions to find the Apify actions, then enable_zapier_action to add them.
  3. Approve the Apify sign-in when prompted. If Apify isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use Apify in 36 AI tools with Zapier MCP

15 Apify MCP tools

ToolMCP nameWhat it does
Finished Actor Runapify_finished_actor_run

Trigger · Read-only. Triggers when a run of the selected Actor finishes.

Required: actorId (Actor)

Optional: statuses

Finished Task Runapify_finished_task_run

Trigger · Read-only. Triggers when a run of the selected task finishes.

Required: taskId (Task)

Optional: statuses

Fetch Dataset Itemsapify_fetch_dataset_items

Search · Read-only. Fetches items from a dataset.

Required: datasetIdOrName (Dataset)

Optional: limit, offset, fields, omit

Get Actor Detailsapify_get_actor_details

Search · Read-only. Retrieves the details of an Actor, such as its title, description, and whether it is public. Use it to check that an Actor fits the job before you run it.

Required: actorId (Actor)

Get Actor Run by IDapify_get_actor_run_by_id

Search · Read-only. Retrieves the details and results of an Actor run by its ID. Use it to check the status or get the output of a run started earlier, e.g. by Run Actor or Run Task.

Required: runId (Run ID)

Get Key-Value Store Recordapify_get_key-value_store_record

Search · Read-only. Gets a record from a key-value store. Agents can use it as memory: read a value saved earlier with Set Key-Value Store Record.

Required: storeIdOrName (Key-value store), key (Record key)

Find Last Actor Runapify_find_last_actor_run

Search · Read-only. Finds the most recent run of an Actor with the selected status. To look up a specific run, use Get Actor Run by ID.

Required: actorId (Actor)

Optional: status (Run status)

Search Apify Storeapify_search_apify_store

Search · Read-only. Searches Apify Store for Actors that match a keyword or use case, e.g. "linkedin scraper" or "google maps". Returns the matching Actors. To run one, map its Actor ID or Actor slug to the Actor field of Run Actor.

Required: query (Search query)

Optional: limit, offset

Find Last Task Runapify_find_last_task_run

Search · Read-only. Finds the most recent run of a task with the selected status. To look up a specific run, use Get Actor Run by ID.

Required: taskId (Task)

Optional: status (Run status)

Abort Actor Runapify_abort_actor_run

Action · Writes data. Aborts a ready or running Actor run by its ID. Use it to stop a run you no longer need or one that takes too long.

Required: runId (Run ID)

Optional: gracefully (Abort gracefully)

Run Actorapify_run_actor

Action · Writes data. Runs an Apify Actor with your input. To run a configuration saved in Apify Console, use Run Task instead.

Required: searchLocation (Search Actors from), actorId (Actor), runSync (Run synchronously)

Run Taskapify_run_task

Action · Writes data. Runs a saved Actor task. To run an Actor with custom input, use Run Actor instead.

Required: taskId (Task), runSync (Run synchronously)

Set Key-Value Store Recordapify_set_key-value_store_record

Action · Writes data. Creates or updates a record in a key-value store. Agents can use it as memory: save data here and read it later with Get Key-Value Store Record.

Required: storeIdOrName (Key-value store), key (Record key), value (Record value)

Run Actor and Fetch Resultsapify_run_actor_and_fetch_results

Action · Writes data. Runs an Actor, waits for it to finish, and returns the items from its default dataset. Best for Actors that finish in under 5 minutes. For longer runs, use Run Actor with "Run synchronously" set to "no", then Fetch Dataset Items.

Required: searchLocation (Search Actors from), actorId (Actor)

Optional: limit, fields

Web Fetchapify_web_fetch

Action · Writes data. Fetches a web page, PDF, or other file and returns it as Markdown, HTML, plain text, links, or raw content. It gets past bot protection, which makes it a good fit for large language model (LLM) workflows.

Required: url

Optional: format_markdown (Markdown), format_html (HTML), format_text (Plain text), format_links (Links), format_raw (Raw), headers (Custom headers), failOnErrorStatus (Fail on error status)

Apify API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call Apify. You connect your account once, and your code references that connection instead of a raw token.

abortActorRun (Abort Actor Run) requires runId. Every Apify action and its inputs are listed under Apify triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection apify
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "apify", owner: "me" });

const { data } = await zapier.runAction({
  app: "apify",
  actionType: "write",
  action: "abortActorRun",
  connection: connection.id,
  inputs: {
    runId: "", // Run ID
  },
});
Zapier SDK CLI
npx zapier-sdk run-action apify write abortActorRun \
  --inputs '{"runId":""}'

Frequently asked questions about automating with Apify

How do I connect Apify to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect Apify. Claude finds the Apify actions and adds them. If Apify needs a sign-in, you approve it once.

Can I use the Apify API without managing API keys?

With the Zapier SDK you connect your Apify account to Zapier once, and your code runs actions through that connection. Zapier handles Apify’s login, so you never paste an API key into your code.

What can an AI agent do with Apify?

Through Zapier MCP, your agent can use 15 Apify tools, such as Finished Actor Run, Finished Task Run, and Fetch Dataset Items. 9 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build Apify automations. It covers how Apify connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.

About Apify

Apify is a marketplace of tools for AI. Thousands of ready-to-run tools called Actors get web data and automate tasks on the web.

Related categories: AI Web Scraping