Skip to content

The moment it happens

Get told only about the responses that are leads

Each response is sorted into lead, support or spam, and only leads reach you, with a one-line summary.

Runs
The moment it happens
Apps
Typeform
AI
Yes, uses the built-in AI allowance
Access
forms:read, webhooks:write

Send this to your assistant

Create a ClickRuntime automation: when a new Typeform response comes in, sort it into lead, support or spam, and email me only the leads with a one-line summary.

Paste it into your assistant. It tells you what it will send or change before it runs live.

First time? Adding ClickRuntime to your assistant takes about two minutes.

Why use it

Why teams use this automation

A contact form on a busy site gets all kinds of messages: sales inquiries, angry customers, spam, job applicants and people who typed in the wrong box. If someone has to read every Typeform response to find the two that matter, hot leads sit for hours and complaints escalate. A sales lead who contacts a buyer in five minutes is far more likely to win the deal than one who writes back tomorrow.

The moment a response is submitted, this passes the answers to an AI step that decides what kind of message it is, such as a hot lead, a complaint or neither, and writes a one-line summary. It notifies you only for the categories you choose, with the summary and the answers.

Sales and support leads use it to focus on what needs a quick human reply.

What you get out of it

  • Hot leads get a fast reply

    A buyer asking for pricing is flagged within seconds of submitting. Responding while they are still on your site, or at least at their desk, makes the difference between a sale and a lost inquiry.

  • Complaints get attention early

    An unhappy customer who is flagged as a complaint can be called before they post a bad review. Early response turns many angry messages into retained customers. It also protects your public reputation online.

  • Notifications only when they matter

    Casual messages, spam and general questions do not interrupt anyone. You are told only about the categories you picked, so alerts keep their value and are not ignored. A tired reader would take far longer on the same pile.

  • One-line summaries speed up reading

    The summary gives you the gist before you open the response. You can decide in a few seconds whether to drop what you are doing, and pass the response to the right person.

  • Same standard for every response

    A person triaging at 4 pm on Friday is tired and rushed, while the AI applies the same criteria every time. Fewer important messages are overlooked because of a bad day.

How it works

What happens, step by step

  1. When someone submits your Typeform, ClickRuntime receives the response straight away.

  2. AI reads the answers, decides whether it is a lead, support, spam or something else, and writes a one-line summary.

  3. Only the categories you care about, such as leads, are sent on.

  4. You get an email with the summary, and everything else stays quiet.

Before it runs live

  • Connect Typeform
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Get told only about the responses that are leadsjust nowSucceeded
Email · New leadNew lead: Acme wants pricing for 25 seats and SSO before Q1.

Build your own

Need it to work differently?

This template is a starting point. Copy the prompt and change it, or describe a different automation from scratch, with your own conditions, more apps or an AI step. Your assistant writes it, tests it and runs it on ClickRuntime.
  • Your own rules

    Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.

  • Any number of apps

    One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.

  • AI where it helps

    Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.

  • On a schedule or on each event

    Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.

Changes you can ask for

  • Act only on the items that match your own rules, and skip the rest
  • Change what the AI looks for, or how it writes the result
  • Add another app, for example also send it to Slack
  • Combine it with other Typeform steps into one automation

Under the hood

The code that runs this automation

This is the Python script that runs each time the automation starts. Your AI assistant writes it for you when you send the prompt, and you allow each step in your assistant. To change how the automation works, describe the change to your assistant and it updates the script for you. For every function it can use, see the script reference.
ai_triage_of_new_responses.pyexample
from clickruntime import on_event, ai, notify

def answers(resp):
    titles = {f["id"]: f["title"] for f in resp["definition"]["fields"]}
    out = {}
    for a in resp["answers"]:
        value = a.get(a["type"])
        if isinstance(value, dict):
            value = value.get("label") or ", ".join(value.get("labels", []))
        out[titles.get(a["field"]["id"], a["field"]["id"])] = value
    return out

@on_event
def handle(event):
    qa = answers((event.json or {}).get("form_response", {}))
    text = "\n".join(f"{q}: {a}" for q, a in qa.items())[:3000]
    result = ai.generate(text, system="Classify as lead, support or spam and give a one-line summary.",
                         json_schema={"type": "object", "properties": {"kind": {"type": "string", "enum": ["lead", "support", "spam"]},
                                                                       "summary": {"type": "string"}}},
                         max_output_tokens=80).json
    if result["kind"] == "lead":
        notify.email_me(f"New lead: {result['summary'][:150]}", text)
    return result

FAQ

Common questions

How does it decide what counts as a hot lead?
It follows the description you give it, such as asking about pricing, a demo or a quote, or mentioning a budget. You can refine the description after seeing a few real examples, and add examples of what is not a lead.
What happens to spam submissions?
You can add a spam category, so those responses are classified and ignored without a notification. They remain in your Typeform results, so you can check that nothing legitimate was filtered out by mistake. Spam can also be tallied separately.
Can the AI answer the customer?
This flow only classifies, summarizes and notifies. Replying is left to your team, because a first contact usually benefits from a person. A drafted reply could be added, but would be shown for your approval first.
What permissions does it need?
forms:read, webhooks:write. Nothing else in your accounts is used.
Does it need AI?
Yes. It uses ClickRuntime's built-in AI, so you don't need an OpenAI or Anthropic key. Every plan includes a monthly AI allowance.
How many runs does it use?
One run for each event the app sends.
Can I change how it works?
Yes. Describe the change to your AI assistant, for example a different schedule, channel or filter. It updates the automation, tests it and tells you what changed.

Set up “Get told only about the responses that are leads” from your assistant

Copy the prompt above, or connect your assistant first. Free plan, no credit card.