# Rojas Automation Lead Engine (`eliorojas1983/rojas-automation-lead-engine`) Actor

Find, qualify, and enrich local business leads with contact intelligence and personalized outreach.

- **URL**: https://apify.com/eliorojas1983/rojas-automation-lead-engine.md
- **Developed by:** [Rojas Automation](https://apify.com/eliorojas1983) (community)
- **Categories:** Lead generation, SEO tools, E-commerce
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 1,000 lead engine runs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Rojas Automation Lead Engine

Turn local business searches into qualified sales opportunities.

Rojas Automation Lead Engine is a white-label lead generation and outreach preparation Actor designed for businesses, agencies, consultants, marketers, and sales teams.

The Actor searches for local businesses based on your target industry and location, enriches available contact information, scores each lead, recommends the best contact method, and automatically prepares personalized outreach messages.

### 🚀 What It Does

Rojas Automation Lead Engine can:

- Discover local businesses based on industry and location
- Extract business names and categories
- Collect business addresses
- Find phone numbers
- Find business websites
- Discover publicly available business emails
- Discover Instagram profiles when available
- Score leads from 0–100
- Classify leads as HOT, MEDIUM, or LOW
- Recommend the best contact method
- Generate personalized email outreach
- Generate Instagram DM outreach
- Generate phone scripts
- Generate follow-up emails
- Maintain lead information for CRM workflows

### 🎯 Who Is It For?

This Actor is designed for:

- Lead generation agencies
- Marketing agencies
- Local service businesses
- Sales teams
- Consultants
- B2B companies
- Freelancers
- Business development professionals

### ⚙️ Input

Configure the Actor with your own business information and target market.

Example:

```json
{
  "company_name": "Orlando Pro Cleaning",
  "sender_name": "John Smith",
  "sender_title": "Owner",
  "sender_email": "sales@example.com",
  "sender_phone": "(407) 555-1234",
  "service_description": "commercial cleaning services for offices and local businesses",
  "value_proposition": "We help businesses maintain cleaner, safer, and more professional facilities.",
  "location": "Orlando, Florida",
  "max_leads": 10,
  "business_types": [
    "medical office",
    "real estate agency",
    "law firm"
  ],
  "generate_email": true,
  "generate_instagram_dm": true,
  "generate_phone_script": true,
  "generate_follow_up": true,
  "include_medium_leads": true
}
```

### 📊 Example Output

Each qualified lead can contain:

```json
{
  "business_name": "Example Medical Center",
  "category": "Medical office",
  "address": "Orlando, FL",
  "phone": "(407) 555-0000",
  "email": "contact@examplebusiness.com",
  "instagram": "https://www.instagram.com/examplebusiness",
  "website": "https://examplebusiness.com",
  "lead_score": 81,
  "priority": "HOT",
  "recommended_contact_method": "EMAIL + INSTAGRAM DM",
  "contact_status": "READY TO CONTACT",
  "deal_stage": "QUALIFIED LEAD"
}
```

### ✉️ Outreach Generation

When contact information is available, the Actor can automatically prepare:

#### Email

A personalized business outreach email based on your company, service, and value proposition.

#### Instagram DM

A short personalized message designed for initial business outreach.

#### Phone Script

A professional introduction for contacting the business by phone.

#### Follow-Up

A follow-up email for leads that have not yet responded.

### 🔥 Lead Scoring

The Lead Engine evaluates available business information and assigns a lead score.

Leads are classified into:

- **HOT** — High-value qualified opportunity
- **MEDIUM** — Potential opportunity worth reviewing
- **LOW** — Lower-priority prospect

Factors can include:

- Location relevance
- Business-category relevance
- Email availability
- Phone availability
- Instagram availability
- Website availability
- Multiple available contact channels

### 🏷️ White-Label Outreach

The Actor uses the company information supplied in the Input.

Generated outreach is personalized using your:

- Company name
- Contact person
- Job title
- Email
- Phone number
- Product or service
- Value proposition

This allows agencies and businesses to use the Lead Engine for different campaigns and clients.

### 📍 Location-Based Lead Generation

Specify a location such as:

- Orlando, Florida
- Miami, Florida
- Tampa, Florida
- Dallas, Texas
- New York, New York

Then select the types of businesses you want to target.

### 💼 Example Use Case

A commercial cleaning company could search:

```text
Location:
Orlando, Florida

Target businesses:
Medical offices
Law firms
Real estate agencies
```

The Actor can identify relevant businesses and prepare the information required for a structured sales outreach campaign.

### 📦 Dataset

Results are stored in the Actor's dataset and can be exported into supported formats for additional analysis, CRM workflows, and integrations.

### ⚠️ Responsible Use

Use generated leads and outreach responsibly.

Users are responsible for ensuring their outreach activities comply with applicable laws, platform policies, privacy requirements, anti-spam rules, and marketing regulations.

Contact information availability varies by business and source.

### 🛠️ Built With

Rojas Automation Lead Engine uses:

- Apify
- Crawlee
- Playwright
- Beautiful Soup
- Python

### Rojas Automation

Automation tools designed to turn public business information into structured, actionable sales intelligence.

# Actor input Schema

## `company_name` (type: `string`):

The company or brand that will appear in the generated outreach messages.

## `sender_name` (type: `string`):

Name of the person who will appear as the sender of the outreach.

## `sender_title` (type: `string`):

The sender's role or job title.

## `sender_email` (type: `string`):

Business email address to include in generated outreach.

## `sender_phone` (type: `string`):

Business phone number to include in generated outreach.

## `service_description` (type: `string`):

Briefly describe the product or service your company offers.

## `value_proposition` (type: `string`):

Explain the main benefit your company provides to potential customers.

## `location` (type: `string`):

City, state, or geographic market where you want to find business leads.

## `business_types` (type: `array`):

Enter the types of businesses you want the Lead Engine to search for.

## `max_leads` (type: `integer`):

Maximum number of qualified leads to generate during this run.

## `generate_email` (type: `boolean`):

Generate a personalized outreach email when a business email address is available.

## `generate_instagram_dm` (type: `boolean`):

Generate a personalized Instagram direct message when an Instagram profile is available.

## `generate_phone_script` (type: `boolean`):

Generate a professional phone outreach script when a phone number is available.

## `generate_follow_up` (type: `boolean`):

Generate a follow-up email for leads with an available email address.

## `include_medium_leads` (type: `boolean`):

Include MEDIUM priority opportunities in addition to HOT leads.

## Actor input object example

```json
{
  "company_name": "Your Company",
  "sender_name": "John Smith",
  "sender_title": "Owner",
  "sender_email": "",
  "sender_phone": "",
  "service_description": "professional services for local businesses",
  "value_proposition": "We help businesses improve efficiency, reduce repetitive work, and achieve better results.",
  "location": "Orlando, Florida",
  "business_types": [
    "medical office",
    "real estate agency",
    "law firm"
  ],
  "max_leads": 10,
  "generate_email": true,
  "generate_instagram_dm": true,
  "generate_phone_script": true,
  "generate_follow_up": true,
  "include_medium_leads": true
}
```

# Actor output Schema

## `results` (type: `string`):

Open the dataset containing the qualified leads generated by this run.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("eliorojas1983/rojas-automation-lead-engine").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("eliorojas1983/rojas-automation-lead-engine").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call eliorojas1983/rojas-automation-lead-engine --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,eliorojas1983/rojas-automation-lead-engine"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zJwXav7JZH9Xrvkcz/builds/wj0sfqcfoYj80ElnQ/openapi.json
