Quick overview
This workflow powers a rule-based website chat that routes visitors to a Calendly booking link, answers basic service FAQs, or collects a contact method and message, then emails the lead to your inbox via Gmail.
How it works
- Receives an incoming website chat message via an n8n Chat trigger.
- Sends a welcome message with a link to your privacy policy and shows a numbered main menu.
- Routes the visitor to either a Calendly scheduling link, a services information submenu, or a direct message flow based on their reply.
- In the direct message flow, asks for an email address or phone number and extracts it from the visitor’s reply.
- Prompts the visitor to write a message, then asks them to confirm whether to send or replace it.
- Emails the captured contact details and message to your configured inbox using Gmail and confirms receipt in the chat.
Setup
- Add a Gmail OAuth2 credential and select it in the Gmail step that sends the notification email.
- Update the Workflow Configuration values for your email inbox address, Calendly link, and privacy-policy URL.
- (Optional) Edit the service descriptions to match your own offerings
- (Optional) Edit the menu points to add/remove options in the navigation
Requirements
- A Gmail account with OAuth2 credentials configured in n8n
- A Calendly account (or similar scheduling tool) with a bookable link
Customization
- You can change/update the service information
- You can add additional menu points by adding them to the chat messages and configuring new Routes for those options