# Find a proven prompt for B2B cold sales emails

**Use case:** 

Describe the email you need and get ready-to-use prompts backed by evidence: prompting techniques from published research, prompts from the LangChain community hub, and, if you add your own LLM API key, blind head-to-head tests on your task. Swap in any other task, such as support replies or product descriptions.

## Input

```json
{
  "task": "Write a short cold email to a SaaS company's CTO offering our software testing (QA) services",
  "sector": "B2B software services",
  "provider": "anthropic",
  "maxPromptsToTest": 5,
  "minSecondsBetweenRequests": 0,
  "includeCommunityPrompts": true,
  "includeResearch": true,
  "papersPerTechnique": 2
}
```

## Output

```json
{
  "task": {
    "label": "Task",
    "format": "text"
  },
  "summary": {
    "label": "Result",
    "format": "text"
  },
  "tested": {
    "label": "Tested",
    "format": "boolean"
  },
  "bestPrompt": {
    "label": "Best prompt",
    "format": "object"
  },
  "prompts": {
    "label": "All prompts",
    "format": "array"
  },
  "techniqueEvidence": {
    "label": "Research per technique",
    "format": "object"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Prompt Finder: Proven Prompts for Any Task Actor is ready to run with the inputs already set for "Find a proven prompt for B2B cold sales emails". [Sign up or log in](https://console.apify.com/create-task-from-example/swYa1T0ozaeEMzdpI) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find a proven prompt for B2B cold sales emails" task

The Prompt Finder: Proven Prompts for Any Task Actor will start running based on the input automatically. You can also change all the input fields, like your task, sector or context, and more, to match your specific use case.

### 3. Receive the "Find a proven prompt for B2B cold sales emails" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as task, result, tested, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Find a proven prompt for B2B cold sales emails" task via API](https://apify.com/padmaraj1994/prompt-finder.md).

## About this Actor

This example demonstrates how to use [Prompt Finder: Proven Prompts for Any Task](https://apify.com/padmaraj1994/prompt-finder.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/padmaraj1994/prompt-finder.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/padmaraj1994/prompt-finder.md

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`).
