# Bulk Contact Form Submitter: Auto-Fill & Send Website Forms (`contactformblaster/bulk-contact-form-submitter`) Actor

Fill in and submit the contact form on every website in your list with a personalized message. An alternative to email marketing and SMS/text marketing for B2B outreach and lead generation from URL lists or Google Maps leads. Solves CAPTCHAs. Try it free: https://contactformblaster.com

- **URL**: https://apify.com/contactformblaster/bulk-contact-form-submitter.md
- **Developed by:** [Contact Blaster](https://apify.com/contactformblaster) (community)
- **Categories:** Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Bulk Contact Form Submitter: auto-fill and send website contact forms

**Automatically fill in and submit the contact form on every website in your list**, with a personalized message for each business. Use it for B2B outreach, cold outreach and lead generation without email lists, or as an **alternative to email marketing and SMS/text marketing**: contact forms go straight to the people who run the business, with no spam filter in the way.

For each website, this contact form submitter finds the contact form, fills in every field (name, email, phone, company, subject, message and more), handles CAPTCHAs, submits it, and saves the result to your dataset, along with any emails and phone numbers found on the site. Works with any list of URLs, or with leads from Google Maps, Yellow Pages and other scraper Actors.

Powered by [Contact Form Blaster](https://contactformblaster.com): campaigns run on **your own account and credits**. Try it free at https://contactformblaster.com (free credits on signup, no credit card).

### What you can do with it

- **Contact a list of websites:** paste URLs, one per line.
- **Chain it with a scraper:** feed in the dataset from a Google Maps, Yellow Pages or any directory scraper run. Every field in that data (business name, city, rating…) becomes a token you can use in your message, like `Hi {contact_title} team`.
- **Let AI write each message:** turn on AI personalization and describe your offer. A unique message is written for every website.
- **Get results back:** each website's outcome (delivered, or why not) and the campaign's delivery rate, plus any emails and phone numbers found on the site.
- **Preview before sending:** see the exact subject and message a few sample websites will get, including AI-written ones.
- **Manage everything from Apify:** pause, resume, cancel or delete campaigns, list them, check credits, buy credits and manage your API key. Everything the Contact Form Blaster API can do is an **Action** in this Actor.

### An alternative to email marketing and SMS/text marketing

Looking for an **email marketing alternative** or an **SMS and text marketing alternative** for reaching businesses? Contact form outreach sends your message through the form each business puts on its own website for inquiries.

- **Compared with email marketing:** no email list to buy or verify, no sending domains, and no inbox warm-up or sender reputation to manage. Your message arrives through the business's own website form, the channel it set up to hear from people.
- **Compared with SMS and text marketing:** no list of mobile numbers to collect, and no per-text carrier fees. Text marketing also usually needs each recipient's prior consent. A website contact form is open to anyone with a business inquiry.
- **Works alongside your other channels:** each result includes any emails and phone numbers found on the site, so a campaign also gives you contact details for follow-up.

### How it works

1. You provide your Contact Form Blaster **API key**, the websites, your details, and your message (or AI instructions).
2. The Actor creates a campaign on your account and checks it has everything it needs.
3. It submits the campaign and waits while every contact form is filled in.
4. Each website's result is saved to the dataset. A summary is saved to the `OUTPUT` record.

The campaign also appears in your [Contact Form Blaster dashboard](https://app.contactformblaster.com/campaigns), where you can pause or resume it, or export the results.

### Before you start

1. [Create a free Contact Form Blaster account](https://app.contactformblaster.com/register). New accounts get free credits, with no credit card needed.
2. Go to **API Access** in the app and create your API key (it starts with `sk_live_`).
3. Use a **dedicated email address** for outreach. Contact forms sometimes sign that address up for newsletters or auto-replies.

### Actions

Pick one under **Action**. The default runs a campaign; the others cover the rest of the [Contact Form Blaster API](https://app.contactformblaster.com/api-docs).

| Action | What it does | Needs |
|---|---|---|
| **Run a campaign** (default) | Creates a campaign from your websites, sends it and saves every site's result. | Websites or a dataset, your details, a message |
| **Send to one website now (one-off)** | Sends to a single website right away, with no campaign to set up, and saves its result. Use your details and message below, or turn on "Re-use my last one-off send's settings". Same price as one website in a campaign. | One website, and your details and message (or "Re-use my last…") |
| **Preview messages** | Creates and configures the campaign (or uses the one you give), then saves the subject and message for a few sample websites. Sends nothing. | Same as above, or a Campaign ID |
| **Submit a campaign** | Sends a campaign you created earlier with "Send the campaign" off, then tracks it. | Campaign ID |
| **Get campaign status** | Saves the campaign's status and progress. | Campaign ID |
| **Pause / Resume** | Pauses a running campaign, or resumes a paused one. | Campaign ID |
| **Cancel** | Stops a paused campaign for good; unused credits are refunded. | Campaign ID |
| **Delete** | Deletes a campaign that hasn't been sent. | Campaign ID |
| **List all campaigns** | Saves every campaign on your account to the dataset. | |
| **List form fields and field presets** | Saves every field you can fill (with their `{token}` ids) and your saved field presets. Add a Campaign ID to include that campaign's list columns. | |
| **Check credits and credit packages** | Saves your credit balance and the packages you can buy (with their plan ids). | |
| **List saved cards** / **Set the default card** | Lists the cards saved in the app, or makes one the default for purchases. | Card ID (to set) |
| **Buy credits** | Buys a credit package with your default card. Charges at most once per run. | Plan ID, and "Confirm purchase" on |
| **Check the message's spam score** | Scores your message 0-100 (reply chance and deliverability) and saves the issues, suggestions and spammy words. Uses no credits. | Message, or a Campaign ID |
| **Improve the message or subject** | Rewrites the message, the subject, or both at once ("Improve: message, subject or both") to read clearer and less like spam (keeping your `{tokens}`), with the new message score. Turn on "Save the improved text to the campaign" to replace it in an unsent campaign. Uses no credits. | Message and/or Subject, or a Campaign ID |
| **Show API key details** | Shows your key's name, masked value and when it was last used. | |
| **Rotate the API key** | Replaces your API key. The old one stops working at once; the new one is saved only to the run's OUTPUT record. | "Confirm key rotation" on |

### Input

| Field | What it's for |
|---|---|
| **API key** | Your Contact Form Blaster key. Needed to send anything; without it, a run only returns setup instructions. Stored as a secret. |
| **Websites** | URLs to contact, one per line. |
| **Dataset from another Actor** + **Website field** | Read websites (and extra columns) from a previous run's dataset. The website field defaults to `website`. |
| **Your details** | First and last name, email, phone country code and number, company, city, state/province, country, and a fallback value for unusual required fields. These are filled into every form. |
| **Team members (rotate)** | Optional, for **Run a campaign** only (a one-off send goes out as one sender). Send each website as one of 2 to 25 real people from your team instead of one name, spread evenly across the list: `[{"first_name": "Tim", "last_name": "Preston"}, {"email": "sarah@acme.com", "first_name": "Sarah", "last_name": "Lee", "phone_country_code": "44", "phone": "7700 900123"}]`. A person without an email or phone uses the ones above. Replaces First / Last name. |
| **Subject / Message** | Your message (up to 100 / 750 characters). Tokens such as `{company_name}` or your dataset columns (`{contact_title}`) are filled in per website. |
| **AI personalization** + **AI instructions** | Let AI write each subject and message from your instructions, instead of a fixed one. |
| **Field preset** | Number of a field preset saved in the app; it fills in your details (anything you enter overrides it). |
| **AI preset** | Number or id of an AI preset (built-in, or one you saved under AI Templates). |
| **Other form fields** | Any other field, as `{"{title}": "Founder"}`. |
| **Webhook URL** | Called by Contact Form Blaster when the campaign finishes. |
| **Send the campaign** | Turn off to only create the campaign (no credits used) and review it in your dashboard first. |
| **Wait for results** / **Maximum wait** | Keep the run going until every website is done, up to a limit. The campaign keeps running on Contact Form Blaster either way. |
| **Campaign ID** | For "Run a campaign": only collect results for a campaign that's already running or finished. Required by the actions that work on one campaign. |

When you use a dataset, the run log lists the exact tokens your columns provide, for example `{contact_title}`, `{contact_city}`. Column names are lowercased, with spaces and symbols turned into `_`.

### Output

One dataset item per website:

```json
{
  "campaignId": "6af3…",
  "website": "https://brightsmiledental.com",
  "status": "success",
  "outcome": "delivered",
  "sentAs": "Sarah Lee",
  "message": "Submitted",
  "errorCode": null,
  "fieldsMapped": 6,
  "companyName": "Bright Smile Dental",
  "emailsFound": ["info@brightsmiledental.com"],
  "phonesFound": ["+1 512 555 0142"],
  "processedAt": "2026-11-11T14:02:11.000Z"
}
```

`outcome` is `delivered`, `undelivered`, or `not_counted`: the website doesn't exist, can't be reached or has no contact form, so it is left out of the delivery rate. `status` (`success` or `fail`) is kept for existing workflows. `sentAs` is the team member the website was sent as (only with **Team members (rotate)**). An undelivered site's `message` and `errorCode` say why (for example `NO_CONTACT_FORM`).

The run summary (the `OUTPUT` record) has `delivered`, `undelivered`, `notCounted` and `deliveryRate`: delivered ÷ websites that could receive a message, the same figure as the Usage page at https://contactformblaster.com.

### Pricing

Running the Actor itself is cheap: it only calls our API and waits. Each contact form submission uses **credits from your Contact Form Blaster account**:

- **2 credits per website**, or **3 with AI personalization**.
- Failed sites cost half.
- Websites that no longer exist are refunded in full.
- No subscription: buy credits once and use them any time.

The run tells you the total before sending, and won't send if your account doesn't have enough credits.

### Tips

- **Start small.** Try 10–20 websites first, check the replies, then scale up (up to 60,000 per campaign).
- **Write like a person.** Short, specific messages get replies; long sales pitches don't.
- **Long campaigns:** a large campaign can take hours. Set **Maximum wait** to suit, or run once without waiting, then run again later with the **Campaign ID** to collect the results.

### Responsible use

Contact Form Blaster is for legitimate business outreach. You're responsible for your message content and for complying with the laws that apply to you. See our [Terms of Service](https://contactformblaster.com/terms.html) and [Privacy Policy](https://contactformblaster.com/privacy.html).

### Support

Questions or problems? [Contact us](https://contactformblaster.com/contact.html). The full REST API is documented at [contactformblaster.com/api-docs.html](https://contactformblaster.com/api-docs.html).

# Actor input Schema

## `apiKey` (type: `string`):

Required to send anything. Your API key (starts with sk_live\_): create one in the app under API Access: https://app.contactformblaster.com/api-access. Campaigns run on your account and use your credits. Without a key, the run only returns setup instructions.

## `action` (type: `string`):

What to do. "Run a campaign" (the default) creates, sends and tracks a campaign from your websites. The other actions manage campaigns and your account: everything the Contact Form Blaster API can do.

## `websites` (type: `array`):

Website URLs to contact, one per line. Use this, or a dataset below, or both.

## `reuseLast` (type: `boolean`):

For "Send to one website": start from the sender details, message and AI settings of your last one-off send. Anything filled in below changes them for this send.

## `datasetId` (type: `string`):

ID of a dataset to read websites from, e.g. the output of a Google Maps or directory scraper run. Each item's simple fields become columns you can use in your message as {contact\_<field>}, e.g. {contact_title}.

## `datasetUrlField` (type: `string`):

Which field of each dataset item holds the website URL.

## `campaignName` (type: `string`):

Shown in your Contact Form Blaster dashboard.

## `firstName` (type: `string`):

Your first name, entered in the first-name field of each contact form.

## `lastName` (type: `string`):

Your last name, entered in the last-name field of each contact form.

## `email` (type: `string`):

Replies come here. A dedicated outreach address is recommended.

## `phoneCountryCode` (type: `string`):

Digits only, e.g. 1 for the US.

## `phone` (type: `string`):

Your phone number, for forms that ask for one.

## `companyName` (type: `string`):

Your company name, for forms that ask for one.

## `city` (type: `string`):

Your city, for forms that ask for a location.

## `stateProvince` (type: `string`):

Your state or province, for forms that ask for one.

## `country` (type: `string`):

Your country, for forms that ask for one.

## `miscValue` (type: `string`):

Used for any extra required form field that doesn't match the ones above (e.g. 'N/A' or your website).

## `team` (type: `array`):

Optional, for "Run a campaign" only (a one-off send goes out as one sender). Send each website as one of 2 to 25 real people from your team instead of one name, spread evenly across the list. Each person: {"first_name": "...", "last_name": "..."} (up to 35 characters each), optionally with their own "email" and "phone_country_code" (1-3 digits) + "phone" (7-15 digits); without them, the email and phone above are used. When set, it replaces First name / Last name. Leave empty to send as one person.

## `fieldPreset` (type: `integer`):

Number of a field preset saved in the app (see the "List form fields and field presets" action). It fills in your details; anything you enter above overrides it.

## `subject` (type: `string`):

Max 100 characters. Can use tokens such as {company_name} or your dataset's columns ({contact_title}). Leave empty when AI personalization is on.

## `message` (type: `string`):

Max 750 characters. Can use tokens such as {first_name} or your dataset's columns ({contact_title}). Leave empty when AI personalization is on.

## `enableAi` (type: `boolean`):

Let AI write a unique subject and message for every website, from your instructions (+1 credit per website).

## `aiInstructions` (type: `string`):

What you offer, the tone, and anything to mention. Required when AI personalization is on.

## `aiPreset` (type: `string`):

Number or ID of an AI preset (a built-in one or one you saved in the app's AI Templates). Used when AI personalization is on; your AI instructions, if any, override its instructions.

## `extraFields` (type: `object`):

Any other field tokens as {"{token}": "value"}, e.g. {"{title}": "Founder", "{website}": "example.com"}. See the API docs for the full list.

## `submit` (type: `boolean`):

Turn off to only create and configure the campaign (no credits used); you can review it and send it from your dashboard.

## `webhookUrl` (type: `string`):

Optional. A URL Contact Form Blaster calls when the campaign finishes, e.g. to trigger your next step without waiting on this run.

## `previewSamples` (type: `integer`):

For "Preview messages": how many sample websites to preview (1–10).

## `waitForResults` (type: `boolean`):

Keep the run going until every website is processed and save each result to the dataset. Off: the run ends once the campaign is submitted.

## `maxWaitMinutes` (type: `integer`):

Stop waiting after this long; the campaign keeps running on Contact Form Blaster. Run again with its campaign ID to collect the results.

## `campaignId` (type: `string`):

For "Run a campaign": only collect results for a campaign that's already running or finished (nothing new is created or sent). Required for the actions that work on one campaign (submit, status, pause, resume, cancel, delete); optional for previews and form fields.

## `improveType` (type: `string`):

For "Improve the message or subject": what to rewrite (from the Message / Subject above, or the campaign's saved ones). "Both" rewrites the subject and message together and counts as two improvements toward the limits. Most contact forms have no subject field, so the message alone is usually enough.

## `saveImproved` (type: `boolean`):

For "Improve the message or subject": replace the text in the campaign given in Campaign ID (only one that has not been sent). Off: the rewrite is only returned.

## `explanationLanguage` (type: `string`):

Language code for issues and suggestions, e.g. en, es, de, fr (default English). Your message can be in any language.

## `skipFlaggedRows` (type: `boolean`):

Drop rows our content check flags instead of stopping the run.

## `preventRetargeting` (type: `boolean`):

Leave out websites you've already contacted in earlier campaigns.

## `cardId` (type: `string`):

For "Set the default card": the card's ID from "List saved cards". Cards are added in the app's Billing page.

## `planId` (type: `string`):

For "Buy credits": the credit package's ID from "Check credits and credit packages".

## `confirmPurchase` (type: `boolean`):

For "Buy credits": must be on. Charges your default card for the chosen package once per run.

## `confirmKeyRotation` (type: `boolean`):

For "Rotate the API key": must be on. Your current key stops working immediately, including in saved Apify tasks and schedules. The new key is saved to this run's OUTPUT record only.

## `newKeyName` (type: `string`):

For "Rotate the API key": optional name for the new key.

## `apiBaseUrl` (type: `string`):

Leave as is.

## Actor input object example

```json
{
  "action": "runCampaign",
  "websites": [
    "https://example.com"
  ],
  "reuseLast": false,
  "datasetUrlField": "website",
  "campaignName": "Apify campaign",
  "team": [
    {
      "email": "tim@acme.com",
      "first_name": "Tim",
      "last_name": "Preston",
      "phone_country_code": "44",
      "phone": "7700 900123"
    },
    {
      "first_name": "Sarah",
      "last_name": "Lee"
    }
  ],
  "enableAi": false,
  "submit": true,
  "previewSamples": 3,
  "waitForResults": true,
  "maxWaitMinutes": 240,
  "improveType": "message",
  "saveImproved": false,
  "skipFlaggedRows": true,
  "preventRetargeting": false,
  "confirmPurchase": false,
  "confirmKeyRotation": false,
  "apiBaseUrl": "https://app.contactformblaster.com/api/v1"
}
```

# Actor output Schema

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

One row per website: the outcome (delivered, undelivered or not counted), the result message, the company name and any emails or phone numbers found. For other actions: the campaigns, credits, plans or cards returned.

## `summary` (type: `string`):

The run's summary: the campaign ID and status, how many sites were processed, delivered and undelivered, how many were not counted, and the delivery rate. After an API key rotation, the new key is stored here.

# 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 = {
    "websites": [
        "https://example.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("contactformblaster/bulk-contact-form-submitter").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 = { "websites": ["https://example.com"] }

# Run the Actor and wait for it to finish
run = client.actor("contactformblaster/bulk-contact-form-submitter").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 '{
  "websites": [
    "https://example.com"
  ]
}' |
apify call contactformblaster/bulk-contact-form-submitter --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,contactformblaster/bulk-contact-form-submitter"
        }
    }
}
```

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/ARlzOaTqtNgcwgd57/builds/BmJ5MYabKe6OevdVb/openapi.json
