Every 15 minutes
Sort Wix enquiries and send only sales leads
New messages are labelled sales, support or spam, and only sales leads reach Slack.
- Runs
- Every 15 minutes
- Apps
- Wix
- AI
- Yes, uses the built-in AI allowance
- Access
- Wix Forms read
Send this to your assistant
Create a ClickRuntime automation: every 15 minutes, read new Wix form submissions, classify each as sales, support or spam, and post only the sales ones to #sales in Slack with a one-line summary.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
A Wix site for a law practice, a wedding planner or a renovation firm gets a mix of enquiries through its contact form: serious requests with a budget and a date, vague questions, and a steady trickle of spam and sales pitches. The owner reads every one in order, so a customer ready to book next month sits behind three SEO offers. Time goes to sorting rather than answering, and the best lead is often answered last.
Every fifteen minutes the automation fetches new Wix form submissions and asks ClickRuntime's built-in AI to write a short summary of each and classify it, for example as new project, existing client, question or spam. Anything that is not spam is posted in Slack with the summary and the label, so the urgent ones are at the top of your attention.
It suits small firms where the person answering enquiries is also doing the work.
What you get out of it
The best lead gets answered first
A label such as 'new project, budget stated, start in June' lets you reply to the valuable enquiry before the vague ones. Speed on the right message often decides who wins the job.
Spam never reaches your attention
Obvious junk is dropped before it is posted, so the channel contains only real people. You stop wasting a minute per message on offers you would never accept. Matching the reader's attention to the message is the point, so nobody feels they must open everything.
Summaries save reading time
A two-line summary tells you what someone wants without reading a long rambling message, which matters on a phone between appointments. Several people can share the inbox without anyone rereading the original text of each message.
Consistent labels across the team
Everyone sees the same category, so a colleague covering for you knows at a glance which enquiries are existing clients needing support and which are new business. A colleague covering your holiday does not have to guess how you would have ranked each enquiry.
A record of what came in
The Slack history shows each enquiry with its classification, which helps you see how many real leads the website produces each month and from which topics. That makes it easier to judge whether a marketing page change actually produced better enquiries.
How it works
What happens, step by step
Every 15 minutes, ClickRuntime collects new form entries from your Wix site.
AI reads each entry, decides whether it is a sales lead, a support question or spam, and sums it up in one line.
Only sales leads are posted to your #sales Slack channel, with the sender's email and the one-line summary.
It remembers where it left off, so each entry is checked once.
Before it runs live
- Connect Wix
What you get
Build your own
Need it to work differently?
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 Wix steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timezone
from clickruntime import on_trigger, credentials, http, state, notify, ai, report_fetched
SITE_ID = "your-site-id"
SCHEMA = {"type": "object", "properties": {"category": {"enum": ["sales", "support", "spam"]},
"summary": {"type": "string"}}, "required": ["category", "summary"]}
@on_trigger
def run(event):
since = state.get("since") or datetime.now(timezone.utc).isoformat()
subs = http.post("https://www.wixapis.com/form-submission-service/v4/submissions/query",
headers={"Authorization": credentials.secret("WIX_API_KEY"), "wix-site-id": SITE_ID},
json={"query": {"filter": {"namespace": "wix.form_app.form", "_createdDate": {"$gt": since}},
"sort": [{"fieldName": "_createdDate", "order": "ASC"}]}}).json().get("submissions", [])
report_fetched(len(subs))
if not subs:
return {"new": 0}
posted = 0
for s in subs:
fields = s["submissions"]
result = ai.generate(f"Classify this website form submission and summarise it in one line:\n{fields}",
json_schema=SCHEMA, max_output_tokens=150).json
if result["category"] == "sales":
notify.slack(f"Sales lead: {fields.get('email', 'no email')}\n{result['summary']}", channel="#sales")
posted += 1
state.set("since", subs[-1]["_createdDate"])
return {"new": len(subs), "sales": posted}FAQ
Common questions
How accurate is the classification?
Does it need an OpenAI or Anthropic key?
Can I define my own categories?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get Wix form submissions in Slack
A few minutes after someone fills in a form on your site, every field is in Slack.
See how it worksEmail yourself each Wix Stores order
Each new store order arrives in your inbox with its items and total.
See how it worksGet Slack alerts for new Wix bookings
Shortly after a client books, Slack shows the service, time and their name.
See how it worksKeep exploring
Set up “Sort Wix enquiries and send only sales leads” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.