Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Playbooks

    Playbooks

    Ready-made workflows: pick one, answer a few questions, get a finished list without duplicates. What a playbook is, finding one, what it costs, previews and caps.

    A playbook is a ready-made workflow. You pick one, answer a few questions — the roles you recruit for and the places you cover, say — and get back a finished list: found across several sources, matched to each company's website, filtered, without duplicates, and best first. Once, or on a schedule.

    A playbook is made of the same scrapers you can run one at a time, and pays for them in the same units. What it adds is everything between them: the joins, the filters, the duplicates taken out, and a memory of what it already gave you. Use a playbook when what you want takes several steps; use a scraper for a lookup in one source.

    A playbook is called a formula in the API. Its addresses, fields and errors, the packages, the command-line tool and the MCP server's tools all use that name — /v1/formulas, formula_id, client.formulas, run_formula — and so do the requests on these pages. Everywhere else, these pages say playbook.

    What a playbook is#

    Each playbook has:

    QuestionsIts parameters, as a JSON Schema. A few are Basics — the questions a run cannot do without — and every other has a default, so the Basics alone are enough to run it.
    StepsWhat it does with your answers, in order: find, match each company to its website, filter, enrich, find people, verify, score. Each step's records in and out are on the run, so an empty result says which step removed what.
    ColumnsWhat each row holds. Each row also says where each of its values came from.
    PresetsReady-made answers to start from, such as "IT contract desk (UK)".
    A sampleRows from a real run, free to read before you spend anything.
    CapsA unit cap that a run never spends past, and a most rows.

    Each playbook has a page of its own, generated from its definition, under Every playbook below.

    Find one#

    GET /v1/formulas lists the playbooks. Give it what you want in your own words as query, and the playbooks that match come back best first, each with the questions it asks (basics):

    curl "https://api.enrichednow.com/v1/formulas?query=companies%20hiring%20Java%20developers%20in%20London%20with%20HR%20contacts" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    import json
    import os
    import urllib.request
    
    request = urllib.request.Request(
        "https://api.enrichednow.com/v1/formulas?query=companies%20hiring%20Java%20developers%20in%20London%20with%20HR%20contacts",
        headers={"Authorization": f"Bearer {os.environ['ENRICHEDNOW_API_KEY']}"},
    )
    with urllib.request.urlopen(request, timeout=90) as response:
        print(json.dumps(json.load(response), indent=2))

    Nothing to install. Save as run.py and run python3 run.py

    const response = await fetch("https://api.enrichednow.com/v1/formulas?query=companies%20hiring%20Java%20developers%20in%20London%20with%20HR%20contacts", {
      headers: { Authorization: `Bearer ${process.env.ENRICHEDNOW_API_KEY}` },
    });
    console.log(JSON.stringify(await response.json(), null, 2));

    Nothing to install. Save as run.mjs and run node run.mjs

    package main
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    )
    
    func main() {
    	request, err := http.NewRequest("GET", "https://api.enrichednow.com/v1/formulas?query=companies%20hiring%20Java%20developers%20in%20London%20with%20HR%20contacts", nil)
    	if err != nil {
    		panic(err)
    	}
    	request.Header.Set("Authorization", "Bearer "+os.Getenv("ENRICHEDNOW_API_KEY"))
    	response, err := http.DefaultClient.Do(request)
    	if err != nil {
    		panic(err)
    	}
    	defer response.Body.Close()
    	answer, err := io.ReadAll(response.Body)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(response.Status)
    	fmt.Println(string(answer))
    }

    Nothing to install. Save as run.go and run go run run.go

    import java.net.URI;
    import java.net.http.HttpClient;
    import java.net.http.HttpRequest;
    import java.net.http.HttpResponse;
    
    public class Run {
        public static void main(String[] args) throws Exception {
            HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.enrichednow.com/v1/formulas?query=companies%20hiring%20Java%20developers%20in%20London%20with%20HR%20contacts"))
                .header("Authorization", "Bearer " + System.getenv("ENRICHEDNOW_API_KEY"))
                .build();
            HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
            System.out.println(response.statusCode());
            System.out.println(response.body());
        }
    }

    Nothing to install. Save as Run.java and run java Run.java

    No word is required to match: a request is half answers ("Java developers", "London"), and a playbook is found by what it is for. category (recruiting, sales, local, …) and persona narrow the list. The catalogue can be read without a key; with one, available says whether your account can run each playbook now.

    GET /v1/formulas/{formula_id} is one playbook whole: its description, its parameters as a JSON Schema, its presets, steps and columns, what it requires and whether your account has it, its caps and its sample rows. Both are free.

    How a playbook is charged#

    A playbook run costs the units of the work it does, and nothing on top:

    • Each scraper call it makes is charged as that scraper is — its units_per_request, its units_per_record for each record, or its units_per_page for each page it read — when the call ends ok or partial, from the same allowance as any run. A call that fails costs nothing.
    • Matching a company to its website from what a record already says, filtering, tagging, scoring and ranking cost nothing. A step that reads the web to do them (a company's page, a site's published addresses, an address's domain) is a scraper call, charged as one.
    • What an earlier run of yours already read, such as a company page in the last 30 days, is used again and not charged again.

    So a run is charged as it works, not once at its end: a run that is cancelled or stops at its cap keeps what it already spent. Every run says what it has spent so far (units_spent) and what each step spent.

    What a run will cost is an estimate until it has run, because how many records a search returns is not known before. POST /v1/formulas/{formula_id}/estimate works it out, for free, from the same plan the run follows:

    curl -X POST "https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"job_titles":["Java Developer"],"locations":["London"]}}'
    import json
    import os
    import urllib.request
    
    body = {
        "params": {"job_titles": ["Java Developer"], "locations": ["London"]},
    }
    
    request = urllib.request.Request(
        "https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate",
        method="POST",
        data=json.dumps(body).encode(),
        headers={
            "Authorization": f"Bearer {os.environ['ENRICHEDNOW_API_KEY']}",
            "Content-Type": "application/json",
        },
    )
    with urllib.request.urlopen(request, timeout=90) as response:
        print(json.dumps(json.load(response), indent=2))

    Nothing to install. Save as run.py and run python3 run.py

    const response = await fetch("https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.ENRICHEDNOW_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        params: { job_titles: ["Java Developer"], locations: ["London"] },
      }),
    });
    console.log(JSON.stringify(await response.json(), null, 2));

    Nothing to install. Save as run.mjs and run node run.mjs

    package main
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"strings"
    )
    
    func main() {
    	body := strings.NewReader(`{"params":{"job_titles":["Java Developer"],"locations":["London"]}}`)
    	request, err := http.NewRequest("POST", "https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate", body)
    	if err != nil {
    		panic(err)
    	}
    	request.Header.Set("Authorization", "Bearer "+os.Getenv("ENRICHEDNOW_API_KEY"))
    	request.Header.Set("Content-Type", "application/json")
    	response, err := http.DefaultClient.Do(request)
    	if err != nil {
    		panic(err)
    	}
    	defer response.Body.Close()
    	answer, err := io.ReadAll(response.Body)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(response.Status)
    	fmt.Println(string(answer))
    }

    Nothing to install. Save as run.go and run go run run.go

    import java.net.URI;
    import java.net.http.HttpClient;
    import java.net.http.HttpRequest;
    import java.net.http.HttpResponse;
    
    public class Run {
        public static void main(String[] args) throws Exception {
            HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate"))
                .header("Authorization", "Bearer " + System.getenv("ENRICHEDNOW_API_KEY"))
                .header("Content-Type", "application/json")
                .POST(HttpRequest.BodyPublishers.ofString("{\"params\":{\"job_titles\":[\"Java Developer\"],\"locations\":[\"London\"]}}"))
                .build();
            HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
            System.out.println(response.statusCode());
            System.out.println(response.body());
        }
    }

    Nothing to install. Save as Run.java and run java Run.java

    It answers 200 either way. With answers that can run, valid is true and estimate has min_units (below this a run is refused), expected_units, max_units (never above the unit cap), expected_rows and basis, one sentence on what drives the number. With answers that cannot, valid is false and errors names each one to change. missing names what your account lacks for it. Once your account has run a playbook, the estimate uses what its runs really did.

    Caps#

    The unit cap is the most a run may spend. Every playbook has a default (its page says it), and you may give your own as unit_cap, between the playbook's least useful cap and its most. A run cannot spend past its cap: it stops starting new work there, and asks each search for no more records than what is left can pay for. It keeps what it found and ends partial with the reason unit_cap_reached.

    The row cap is the most rows a run returns, best first: row_cap, or the playbook's max_results parameter, or its default.

    Your account's own spend limit and allowance apply as to any run, and a playbook run counts as one run against your concurrent runs, whatever it does inside.

    Preview#

    A preview is the first 10 rows of a run, charged at what they cost: "mode": "preview". Its searches are the ones a full run makes, so a playbook that searches widely before it has a row costs more to preview than one that does not. The estimate with "mode": "preview" says what a preview will cost, for free, before you start one. Your unit_cap bounds a preview as it bounds a full run (the playbook's default when you give none), and your spend limit, your key's monthly limit and your balance apply as to any run; nothing else caps it. A preview remembers nothing: what it returns does not count as delivered for a saved playbook. Preview a playbook with your answers before you run it whole, to see what the rows look like and what a full run would cost.

    curl -X POST "https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"job_titles":["Java Developer"],"locations":["London"]},"mode":"preview"}'
    import json
    import os
    import urllib.request
    
    body = {
        "params": {"job_titles": ["Java Developer"], "locations": ["London"]},
        "mode": "preview",
    }
    
    request = urllib.request.Request(
        "https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate",
        method="POST",
        data=json.dumps(body).encode(),
        headers={
            "Authorization": f"Bearer {os.environ['ENRICHEDNOW_API_KEY']}",
            "Content-Type": "application/json",
        },
    )
    with urllib.request.urlopen(request, timeout=90) as response:
        print(json.dumps(json.load(response), indent=2))

    Nothing to install. Save as run.py and run python3 run.py

    const response = await fetch("https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.ENRICHEDNOW_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        params: { job_titles: ["Java Developer"], locations: ["London"] },
        mode: "preview",
      }),
    });
    console.log(JSON.stringify(await response.json(), null, 2));

    Nothing to install. Save as run.mjs and run node run.mjs

    package main
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"strings"
    )
    
    func main() {
    	body := strings.NewReader(`{"params":{"job_titles":["Java Developer"],"locations":["London"]},"mode":"preview"}`)
    	request, err := http.NewRequest("POST", "https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate", body)
    	if err != nil {
    		panic(err)
    	}
    	request.Header.Set("Authorization", "Bearer "+os.Getenv("ENRICHEDNOW_API_KEY"))
    	request.Header.Set("Content-Type", "application/json")
    	response, err := http.DefaultClient.Do(request)
    	if err != nil {
    		panic(err)
    	}
    	defer response.Body.Close()
    	answer, err := io.ReadAll(response.Body)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(response.Status)
    	fmt.Println(string(answer))
    }

    Nothing to install. Save as run.go and run go run run.go

    import java.net.URI;
    import java.net.http.HttpClient;
    import java.net.http.HttpRequest;
    import java.net.http.HttpResponse;
    
    public class Run {
        public static void main(String[] args) throws Exception {
            HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.enrichednow.com/v1/formulas/job-order-hunter/estimate"))
                .header("Authorization", "Bearer " + System.getenv("ENRICHEDNOW_API_KEY"))
                .header("Content-Type", "application/json")
                .POST(HttpRequest.BodyPublishers.ofString("{\"params\":{\"job_titles\":[\"Java Developer\"],\"locations\":[\"London\"]},\"mode\":\"preview\"}"))
                .build();
            HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
            System.out.println(response.statusCode());
            System.out.println(response.body());
        }
    }

    Nothing to install. Save as Run.java and run java Run.java

    Then the preview itself:

    curl -X POST "https://api.enrichednow.com/v1/formulas/job-order-hunter/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"params":{"job_titles":["Java Developer"],"locations":["London"]},"mode":"preview"}'
    import json
    import os
    import urllib.request
    
    body = {
        "params": {"job_titles": ["Java Developer"], "locations": ["London"]},
        "mode": "preview",
    }
    
    request = urllib.request.Request(
        "https://api.enrichednow.com/v1/formulas/job-order-hunter/runs?wait=60",
        method="POST",
        data=json.dumps(body).encode(),
        headers={
            "Authorization": f"Bearer {os.environ['ENRICHEDNOW_API_KEY']}",
            "Content-Type": "application/json",
        },
    )
    with urllib.request.urlopen(request, timeout=90) as response:
        print(json.dumps(json.load(response), indent=2))

    Nothing to install. Save as run.py and run python3 run.py

    const response = await fetch("https://api.enrichednow.com/v1/formulas/job-order-hunter/runs?wait=60", {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.ENRICHEDNOW_API_KEY}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        params: { job_titles: ["Java Developer"], locations: ["London"] },
        mode: "preview",
      }),
    });
    console.log(JSON.stringify(await response.json(), null, 2));

    Nothing to install. Save as run.mjs and run node run.mjs

    package main
    
    import (
    	"fmt"
    	"io"
    	"net/http"
    	"os"
    	"strings"
    )
    
    func main() {
    	body := strings.NewReader(`{"params":{"job_titles":["Java Developer"],"locations":["London"]},"mode":"preview"}`)
    	request, err := http.NewRequest("POST", "https://api.enrichednow.com/v1/formulas/job-order-hunter/runs?wait=60", body)
    	if err != nil {
    		panic(err)
    	}
    	request.Header.Set("Authorization", "Bearer "+os.Getenv("ENRICHEDNOW_API_KEY"))
    	request.Header.Set("Content-Type", "application/json")
    	response, err := http.DefaultClient.Do(request)
    	if err != nil {
    		panic(err)
    	}
    	defer response.Body.Close()
    	answer, err := io.ReadAll(response.Body)
    	if err != nil {
    		panic(err)
    	}
    	fmt.Println(response.Status)
    	fmt.Println(string(answer))
    }

    Nothing to install. Save as run.go and run go run run.go

    import java.net.URI;
    import java.net.http.HttpClient;
    import java.net.http.HttpRequest;
    import java.net.http.HttpResponse;
    
    public class Run {
        public static void main(String[] args) throws Exception {
            HttpRequest request = HttpRequest.newBuilder(URI.create("https://api.enrichednow.com/v1/formulas/job-order-hunter/runs?wait=60"))
                .header("Authorization", "Bearer " + System.getenv("ENRICHEDNOW_API_KEY"))
                .header("Content-Type", "application/json")
                .POST(HttpRequest.BodyPublishers.ofString("{\"params\":{\"job_titles\":[\"Java Developer\"],\"locations\":[\"London\"]},\"mode\":\"preview\"}"))
                .build();
            HttpResponse<String> response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());
            System.out.println(response.statusCode());
            System.out.println(response.body());
        }
    }

    Nothing to install. Save as Run.java and run java Run.java

    Running a playbook has the whole of a run: waiting for it, its statuses and reasons, its rows.

    From an AI agent#

    The MCP server has the playbooks as tools. An agent finds one from what you ask (list_formulas), reads its questions (get_formula), runs a preview first and shows you its rows, what they cost and what a full run would cost, and runs it whole only with a unit cap — asking you first when a run, a preview or a full one, is expected to cost more than 500 units. It can save a playbook for you, on a schedule, and read what it delivers.

    Typed in the OpenAPI document#

    The OpenAPI document, https://api.enrichednow.com/v1/openapi.json, has every playbook's parameters as a type of its own, <Name>Params (JobOrderHunterParams), and an operation for each playbook's run and estimate (POST /v1/formulas/job-order-hunter/runs, run_job_order_hunter), so a client generator makes a typed method for each playbook. POST /v1/formulas/{formula_id}/runs takes any playbook's parameters as well.

    Every playbook

    The same list as GET /v1/formulas, by category. Each page is generated from the playbook’s definition, so it cannot drift from what the API takes.

    Recruiting

    Sales

    Local business

    E-commerce

    Real estate

    Finance

    Marketing

    Events

    Public sector

    Research

    Other