Documentation Index
Fetch the complete documentation index at: https://docs.molin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
You can open the chat with a prefilled message by adding URL parameters to any page on your website. This is perfect for:- Marketing campaigns with pre-written questions
- Email links that open chat with context
- QR codes that start specific conversations
- Social media links with call-to-action messages
- Support links with predefined inquiries
This feature requires no JavaScript code. Just add parameters to your existing URLs.
URL builder
Use this tool to generate URLs for your campaigns:Parameters
| Parameter | Required | Description |
|---|---|---|
molin_message | Yes | The message to prefill in the chat input (URL-encoded) |
molin_autosend | No | Set to 1 to automatically send the message |
URL encoding
Special characters must be URL-encoded. Common encodings:| Character | Encoded |
|---|---|
| Space | %20 |
? | %3F |
& | %26 |
= | %3D |
! | %21 |
' | %27 |
Examples
Product inquiry
Direct users to ask about a specific product:Support request
Create a support link in your email footer:Campaign landing page
Add to marketing campaigns with a specific question:Order tracking
Link from order confirmation emails:Use cases
Email marketing
Add prefilled chat links to your email campaigns:QR codes
Generate QR codes that link to URLs with prefilled messages. When scanned, customers immediately start a relevant conversation.Social media ads
Use prefilled URLs in your ad campaigns to start targeted conversations:- Facebook ads → product-specific questions
- Instagram bio → general inquiries
- Twitter links → support requests
Website buttons
Create buttons that open chat with context:Combining with existing URLs
The parameters work with any existing URL on your site:Technical notes
- Parameters are parsed when the widget script loads
- The chat opens automatically when a valid
molin_messageis detected - After the chat opens,
molin_*parameters are automatically removed from the URL (usinghistory.replaceState) to keep URLs clean - Works with all widget embed methods (script tag, Shopify app, etc.)