| name | apify-deploy-integration |
| description | Deploy Apify Actors and integrate scraping into external applications.
Use when deploying Actors to the platform, integrating Actor results
into web apps, or connecting Apify with external services.
Trigger: "deploy apify actor", "apify Vercel integration",
"apify production deploy", "integrate apify results", "apify API endpoint".
|
| allowed-tools | Read, Write, Edit, Bash(apify:*), Bash(npm:*), Bash(vercel:*), Bash(gcloud:*) |
| version | 1.0.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","scraping","automation","apify"] |
| compatible-with | claude-code |
Apify Deploy Integration
Overview
Deploy Actors to the Apify platform and integrate their results into external applications. Covers apify push deployment, API-triggered runs from web apps, scheduled scraping with data pipelines, and platform-specific integration patterns.
Prerequisites
- Actor tested locally (
apify run)
apify login completed
- Target application ready for integration
Instructions
Step 1: Deploy Actor to Platform
apify push
apify push username/my-scraper
apify pull username/existing-actor
Step 2: Integrate with a Web Application
The most common pattern: trigger an Actor from your app and consume results.
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
interface ScrapeResult {
url: string;
title: string;
price: number;
inStock: boolean;
}
export async function scrapeProducts(urls: string[]): Promise<[]> {
run = client.().({
: urls.( ({ url })),
: ,
}, {
: ,
: ,
});
(run. !== ) {
();
}
{ items } = client.(run.).();
items [];
}
(): <> {
run = client.().({
: urls.( ({ url })),
});
run.;
}
(): <{
: ;
?: [];
}> {
run = client.(runId).();
(run. === || run. === ) {
{ : run. };
}
(run. === ) {
{ items } = client.(run.).();
{ : , : items [] };
}
{ : run. };
}