How to Create a Chat Widget in myCRMSIM
Overview
The Chat Widget is a small chat bubble that sits in the corner of your website. When a visitor clicks it and sends a message, myCRMSIM automatically creates or updates their contact record and delivers the conversation to your Conversations inbox. Your team replies by SMS — no live agent required on the website side.
What happens when a visitor chats:
2. A contact is created (or updated) in your workspace
3. An optional auto-reply SMS is sent to the visitor confirming receipt
4. The conversation appears in your Conversations inbox
5. You reply from myCRMSIM — the visitor receives your reply by text message
6. The "Chat Started" trigger fires any connected automation
- Log in to myCRMSIM at app.mycrmsim.com
- In the left sidebar, click Lead Capture
- Click the Chat Widget tab at the top of the page
- Click + New Chat Widget

Field | What to Enter | Example |
Name (internal) | A name only you see in the dashboard — not shown to visitors. Max 191 characters. | Homepage Chat, Contact Page Widget |
Greeting | The bold headline shown at the top of the chat panel when a visitor opens it. | Hi there 👋, How can we help? |
Intro text | A short sentence below the greeting explaining what to expect. | Leave us a message and we'll text you back as soon as we can. |
Bubble & accent color | The color of the chat bubble and header. Enter a hex code or use the color picker. | #2563eb (blue), #16a34a (green) |

Field | Options | Notes |
Mobile number | Always required | Cannot be turned off — this is how replies are delivered |
Email field | Don't ask / Optional / Required | Choose based on your lead capture needs |
Tags applied to chatting contacts | Enter one or more tags | e.g. website-chat, hot-lead — these tags are automatically added to every contact who chats through this widget |

- Toggle ON (recommended) — visitor receives an SMS right away
- Toggle OFF — no automatic SMS is sent
"Thanks for reaching out! We got your message and will text you back shortly."
You can edit this text to match your brand voice. Keep it short and reassuring.
Important: The auto-reply is sent through your standard message routing. Make sure your workspace has an active device or SIM connected before enabling this.

Field | What it Does | When to Use |
Allowed websites | Restricts the widget to only accept chats from specific domains | Enter yoursite.com if you only want chats from your own website |
Daily chat limit | Caps the number of new chat sessions per day | Default is 500. Lower this if you want to limit volume |


- Make sure the Active toggle at the top is turned ON
- Click Create Widget
- Your widget is now created and you will be taken back to the Chat Widget list

- On the Chat Widget list page, find your newly created widget
- Click the embed icon (the < > icon) in the Actions column
- Copy the embed code — it looks like this:
HTML
<script src="https://backend.mysmsgateway.app/embed/chat.js" data-chat="YOUR_WIDGET_ID" async></script>
Paste this code into the <head> or just before the closing </body> tag of every page on your website where you want the chat bubble to appear
Note: Each widget has a unique data-chat ID. Do not mix up embed codes from different widgets.

- Open your website (or paste the embed code into a test HTML page )
- Click the chat bubble in the bottom-right corner
- Fill in a test name, your mobile number, and a message
- Click Start chat
- Check that:
- The auto-reply SMS arrives on your phone ✅
- A new contact appears in myCRMSIM → Contacts ✅
- The conversation appears in myCRMSIM → Conversations with a Web Chat badge ✅

Action | How |
Edit | Click the pencil icon to update any setting |
Toggle ON/OFF | Use the Active switch to enable or disable the widget without deleting it |
View chat count | The Chats column shows how many conversations have come through |
Get embed code | Click the < > icon to copy the embed script |
Delete | Click the trash icon to permanently remove the widget |
Note: Turning a widget OFF means new chats will show a "Chat unavailable" message to visitors. Existing conversations are not affected.

Important: The Chat Started trigger fires once per chat session — when the visitor first submits the form. Follow-up messages sent in the same session do not re-fire the trigger.
- Go to Automations in the left sidebar
- Click New Workflow
- In the trigger palette, find Chat Started (shown as a sky-blue card under Triggers)
- Click the trigger to open its properties panel
- Choose one of two options:
Option | When to Use |
Specific widget | Workflow fires only when a chat starts on the widget you select — useful when different pages need different follow-up sequences |
Any widget | Workflow fires for every chat started across all your widgets — useful for a single universal follow-up |

Action | What it Does |
Add Tag | Automatically tag the contact (e.g. new-lead, website-chat) |
Send SMS | Send an immediate follow-up message to the visitor |
Add to Pipeline | Move the contact into a sales pipeline stage |
Assign to Team Member | Route the lead to a specific person |
Send Internal Notification | Alert your team that a new chat lead came in |
• Contact Created — fires because a new contact was created
• Chat Started — fires because a chat was initiated
If the same visitor chats again later (existing contact), Contact Updated fires instead of Contact Created, but Chat Started fires again for the new session.
1. Will visitors see my replies inside the chat widget?
- No. The chat widget is an SMS bridge — visitors send their message on your website, and your replies are delivered to their phone by SMS. This is by design.
2. Can I have multiple widgets for different pages?
- Yes. Create a separate widget for each page or use case (e.g. one for your homepage, one for your pricing page). Each widget gets its own embed code and tracks chats independently.
3. What if I don't have message routing set up?
- The auto-reply will silently fail if there is no active routing in your workspace. Make sure you have a connected device or SIM before enabling auto-reply.
4. Can I restrict the widget to my website only?
- Yes. Enter your domain in the Allowed websites field under Spam Protection. Chats from any other domain will be blocked.
5. Does the widget work on mobile websites?
- Yes. The chat bubble is fully responsive and works on all screen sizes.
