Skip to content

The moment it happens

Send contact form enquiries to Slack and confirm by email

Each enquiry appears in Slack straight away and the person who wrote in gets a confirmation from your Outlook address.

Runs
The moment it happens
Apps
Outlook, Slack
AI
Not needed
Access
chat:write; Mail.Send

Send this to your assistant

Create a ClickRuntime automation: when someone submits my website contact form, post their details to #sales in Slack and email them a short confirmation from my Outlook.

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 small consultancy gets enquiries through its website, but they arrive in a shared inbox that nobody checks until lunchtime. Prospects who hear nothing for hours often contact the next firm on their list.

Posting each enquiry to the sales channel the moment it arrives lets someone pick it up quickly, and an immediate confirmation from a real address reassures the prospect that the message landed.

What you get out of it

  • Quicker first response

    The enquiry is in Slack within seconds, where the team already is. Someone can claim it and reply while the prospect is still on your site.

  • Prospects know they were heard

    A confirmation from your own Outlook address looks personal and lands in the inbox, not spam. It sets expectations for when you'll reply.

  • One place to see every lead

    Enquiries stay in the channel with name, email and message. It's easy to see who has been answered.

  • Works with any form

    Any form builder or website that can send a webhook works. You don't have to change how your site collects enquiries.

How it works

What happens, step by step

  1. Your website form sends each submission to ClickRuntime.

  2. It checks there is a name and a valid email address, and skips anything that looks empty or fake.

  3. The enquiry is posted to your sales channel in Slack.

  4. The person gets a short confirmation email from your Outlook address.

Before it runs live

  • Connect Outlook
  • Connect Slack, then invite the app to the channel (type /invite @ClickRuntime there)
  • Paste your automation's link into the other app's webhook settings

What you get

RunsThe moment it happens
Send contact form enquiries to Slack and confirm by emailjust nowSucceeded
Slack · #sales:envelope: New enquiry from Dana Ortiz <dana@acme.io> — Looking for help migrating our bookkeeping.

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
  • Add an AI step, for example to summarize, sort or draft a reply
  • Add another app, for example also send it to Google Sheets
  • Combine it with other Outlook and Slack 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.
contact_form_to_slack_with_outlook_confirmation.pyexample
GRAPH = "https://graph.microsoft.com/v1.0"
from clickruntime import on_event, credentials, http, notify

@on_event
def handle(event):
    f = event.json or {}
    name, email, msg = f.get("name", "").strip(), f.get("email", "").strip(), f.get("message", "").strip()
    if "@" not in email or not msg:
        return {"skipped": "missing email or message"}
    notify.slack(f":envelope: New enquiry from {name} <{email}>\n>{msg[:500]}", channel="#sales")
    h = {"Authorization": f"Bearer {credentials.connection('microsoft', 'work')}"}
    mail = {"message": {"subject": "Thanks for getting in touch",
                        "body": {"contentType": "Text", "content": f"Hi {name or 'there'},\n\nThanks for your message. We'll reply within one working day.\n"},
                        "toRecipients": [{"emailAddress": {"address": email}}]}}
    http.post(f"{GRAPH}/me/sendMail", headers=h, json=mail).raise_for_status()
    return {"lead": email}

FAQ

Common questions

Which form tools work with this?
Any form that can send its submissions to a web address, including most website builders and form tools. You paste your trigger link into the form's webhook setting.
Can I write my own confirmation text?
Yes. The confirmation is plain text you can change, and it can include the person's name and what they asked about.
What stops spam submissions?
Entries without a valid email address are skipped. You can also add a hidden field to your form and ignore submissions that fill it in.
What permissions does it need?
chat:write; Mail.Send. Nothing else in your accounts is used.
Does it need AI?
No. It runs without AI, so it doesn't use your plan's 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 “Send contact form enquiries to Slack and confirm by email” from your assistant

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