Skip to content
Template

Sort contact form messages with AI

AI labels each message sales, support or other. Sales goes to Slack, the rest to your email.

Use this templateForm · Ask AI · Slack · Email

The steps

  1. Trigger

    When someone submits "Contact us"

    A form with Name, Email and Message.

  2. Step 1

    Ask AI

    Asks AI for two fields, category and summary. Nothing to set up.

  3. Step 2

    Branch

    Takes the Yes path when the category is sales.

  4. Step 3 · Yes path of Step 2

    Post to Slack

    Posts the lead to Slack. Add your Slack incoming webhook.

  5. Step 4 · No path of Step 2

    Send email

    Emails you everything else, to your own address.

What you need

  • A Slack workspace where you can add an incoming webhook.
  • A Foliot account (free).

Questions

Do I need an AI account or API key?
No. Foliot runs Ask AI for you: 50 calls a day on Free, 500 on Pro. The message is sent to Anthropic to be read.
Can I use other categories?
Yes. Change the words in the instructions and the Branch's condition to match, for example billing or partnership.