Build an intelligent contact form that automatically routes inquiries to the right department using Gen.AI
Access AI Builder
Create a New Workspace
Configure Workspace Settings
Create a New Page
Configure Page Properties
Add a Form Block
Set the Form Submission Event
Save Your Page
Get the Page URL
workspace-slug.pages.host/lang/contact-us
Access the App Store
Install the SendMail App
Install the OpenAI App
Create a New Automation
Configure the Event Trigger
Set Default Recipient
Add OpenAI Analysis
"{{payload.message}}"
Extract AI Response
"{{result.choices[0].message.content}}"
Create Conditional Routing
{{routingDecision}} = "sales"
{{routingDecision}} = "support"
{{routingDecision}} = "careers"
Configure Email Notification
"{{recipient}}"
(the dynamically set department email)"{{payload.email}}"
(the submitter’s email){{payload.message}}
, Name: {{payload.name}}
, Attachment: {{payload.attachment}}
”Set Output and Save
{{routingDecision}}
Access Your Contact Form
Submit Test Inquiries
Verify Email Routing
Test Attachment Handling
Pull Your Changes
Set Up Access Controls
Monitor Activity Logs
Review Classification Accuracy
Optimize the AI Prompt