Hunter · Arazzo Workflow

Hunter Reverify Lead

Version 1.0.0

Retrieve a stored lead, re-verify its email, and update or delete it based on the result.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub Email FinderEmail VerifierLead GenerationOutreachProspectingEnrichmentSalesMarketingArazzoWorkflows

Provider

hunter-io

Workflows

reverify-lead
Re-verify a stored lead and update it if valid or delete it if invalid.
Fetches a lead, re-verifies its email, and branches to refresh the lead when still valid or delete it when it has become invalid.
4 steps inputs: apiKey, leadId outputs: refreshedLeadId, verificationStatus
1
getLead
Retrieve the stored lead by id to read its current email address.
2
reverifyEmail
Re-verify the stored email and branch to refresh the lead when valid or delete it when invalid.
3
refreshLead
Update the still-valid lead with its refreshed confidence score from the latest verification.
4
deleteLead
Delete the lead whose email has gone invalid so it no longer pollutes future campaigns.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Hunter Reverify Lead
  summary: Retrieve a stored lead, re-verify its email, and update or delete it based on the result.
  description: >-
    A list-hygiene flow for keeping a lead database deliverable. It fetches a
    lead by id, re-runs the Email Verifier on the stored address, and branches on
    the fresh status: a still-valid address has its confidence score refreshed via
    an update, while an address that has gone invalid is deleted from the account
    so dead contacts do not pollute future campaigns. Running this across a list
    keeps bounce rates low. Each request inlines the api_key query parameter.
  version: 1.0.0
sourceDescriptions:
- name: emailVerifierApi
  url: ../openapi/hunter-io-email-verifier-api-openapi.yml
  type: openapi
- name: leadsApi
  url: ../openapi/hunter-io-leads-api-openapi.yml
  type: openapi
workflows:
- workflowId: reverify-lead
  summary: Re-verify a stored lead and update it if valid or delete it if invalid.
  description: >-
    Fetches a lead, re-verifies its email, and branches to refresh the lead when
    still valid or delete it when it has become invalid.
  inputs:
    type: object
    required:
    - apiKey
    - leadId
    properties:
      apiKey:
        type: string
        description: Your Hunter API key, passed as the api_key query parameter.
      leadId:
        type: integer
        description: The id of the lead to re-verify.
  steps:
  - stepId: getLead
    description: >-
      Retrieve the stored lead by id to read its current email address.
    operationId: getLead
    parameters:
    - name: id
      in: path
      value: $inputs.leadId
    - name: api_key
      in: query
      value: $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      email: $response.body#/data/email
      firstName: $response.body#/data/first_name
      lastName: $response.body#/data/last_name
  - stepId: reverifyEmail
    description: >-
      Re-verify the stored email and branch to refresh the lead when valid or
      delete it when invalid.
    operationId: emailVerifier
    parameters:
    - name: email
      in: query
      value: $steps.getLead.outputs.email
    - name: api_key
      in: query
      value: $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      status: $response.body#/data/status
      score: $response.body#/data/score
    onSuccess:
    - name: stillValid
      type: goto
      stepId: refreshLead
      criteria:
      - context: $response.body
        condition: $.data.status == "valid"
        type: jsonpath
    - name: nowInvalid
      type: goto
      stepId: deleteLead
      criteria:
      - context: $response.body
        condition: $.data.status == "invalid"
        type: jsonpath
  - stepId: refreshLead
    description: >-
      Update the still-valid lead with its refreshed confidence score from the
      latest verification.
    operationId: updateLead
    parameters:
    - name: id
      in: path
      value: $inputs.leadId
    - name: api_key
      in: query
      value: $inputs.apiKey
    requestBody:
      contentType: application/json
      payload:
        email: $steps.getLead.outputs.email
        confidence_score: $steps.reverifyEmail.outputs.score
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      leadId: $response.body#/data/id
    onSuccess:
    - name: refreshed
      type: end
  - stepId: deleteLead
    description: >-
      Delete the lead whose email has gone invalid so it no longer pollutes
      future campaigns.
    operationId: deleteLead
    parameters:
    - name: id
      in: path
      value: $inputs.leadId
    - name: api_key
      in: query
      value: $inputs.apiKey
    successCriteria:
    - condition: $statusCode == 204
  outputs:
    verificationStatus: $steps.reverifyEmail.outputs.status
    refreshedLeadId: $steps.refreshLead.outputs.leadId

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/hunter-io-reverify-lead-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.