To add Unsubscribe and Resubscribe buttons in BotSailor, open Chatbot Manager, select your connected Webchat bot, and configure the Un-subscribe and Re-subscribe templates under Automation → Quick Actions. This setup helps users manage a chatbot unsubscribe request easily while keeping subscription preferences under user control. Then create a keyword-reply flow, add a welcome text message, attach two buttons, assign the correct system action to each button, and save the complete flow. Finally, refresh your website and test both actions through the Webchat widget.
BotSailor uses system action buttons to perform universal actions such as unsubscribing a user or returning them to automated messaging. Its visual Flow Builder lets you configure these actions and connect them to chatbot messages without writing code.
What Are Unsubscribe and Resubscribe Buttons in BotSailor? Understanding chatbot unsubscribe and resubscribe chatbot options helps businesses give users control over automated messaging preferences.
An Unsubscribe button allows a user to opt out of automated messages from your Webchat bot. This chatbot unsubscribe feature is useful when visitors want to stop receiving automated updates. After the action is completed, the bot can display a confirmation explaining that the user has been removed from the subscriber list.
A Resubscribe button allows the same user to opt back into automated messages. The resubscribe chatbot process restores communication when the user chooses to receive messages again. This gives visitors control over whether they continue receiving chatbot communications.
In BotSailor, these actions are configured as System Default Action Buttons:
Unsubscribe: Opts the user out of messages.
Resubscribe: Opts the user back into messages.
BotSailor’s action buttons are designed to perform system-level behaviours consistently across chatbot flows.
Terminology note: Use Resubscribe, not “Subscribe,” for the button that restores a previously unsubscribed user.
Complete Process in Arrow Format
Log in to BotSailor
→ Open Chatbot Manager
→ Select the connected Webchat bot
→ Open Automation
→ Select Quick Actions
→ Configure Un-subscribe
→ Write and save the unsubscribe confirmation
→ Configure Re-subscribe
→ Write and save the resubscription confirmation
→ Return to Keyword Replies
→ Click Create
→ Add trigger keywords
→ Select the matching method
→ Add a welcome Text message
→ Add the Unsubscribe button
→ Select System Default Action Button
→ Choose Unsubscribe as the action type
→ Add the Resubscribe button
→ Select System Default Action Button
→ Choose Re-subscribe as the action type
→ Save both buttons
→ Save the complete flow
→ Open and refresh the website
→ Enter a trigger keyword
→ Test Unsubscribe
→ Test Resubscribe
Prerequisites
Before starting, make sure you have:
An active BotSailor account.
A Website Chat bot connected to BotSailor.
The BotSailor chat widget installed on your website.
Access to Chatbot Manager.
An unsubscribe confirmation message.
A resubscribe confirmation message.
One or more keywords for opening the button menu, such as hello, hi, or start.
How to Add Unsubscribe and Resubscribe Buttons in BotSailor
Step 1: Open Chatbot Manager
Log in to your BotSailor dashboard.
From the left-hand navigation menu, open Chatbot Manager. This section displays the messaging accounts and bots connected to your BotSailor workspace.
Step 2: Select Your Connected Webchat Bot
Under Bots/Accounts, select the Website Chat bot you want to configure.
In your example, the selected bot is named Chatboost. Verify that:
The correct website appears under the bot name.
The bot status is marked Active.
The selected channel is Website Chat.
All the flows and action buttons created in the following steps will apply to this selected bot.
Step 3: Open Automation and Quick Actions
After selecting the Webchat bot:
Open the Automation tab.
Select Quick Actions.
Locate the Un-subscribe option.
Locate the Re-subscribe option.
These are separate system actions, so configure them individually. Proper chatbot unsubscribe and resubscribe chatbot configuration ensures both actions work correctly.
Step 4: Configure the Unsubscribe Quick Action
Click the arrow on the Un-subscribe card.
BotSailor will open the action template in the visual Flow Builder. Action-button templates can be edited by opening their flow, changing the response, and saving the updated configuration.
Inside the flow:
Open the existing Text component or add a new Text block.
Write a clear chatbot unsubscribe confirmation message.
Connect the Text component to the action flow.
Save the Text component.
Save the complete Flow Builder.
An example message is:
You have successfully been removed from our list. You will no longer receive automated messages from this bot. You can return at any time by selecting Resubscribe.
A shorter alternative is:
You have successfully unsubscribed. Select Resubscribe whenever you want to receive our messages again.
Step 5: Configure the Resubscribe Quick Action
Return to Automation → Quick Actions and open the Re-subscribe option.
Configure its Flow Builder separately:
Open or add a Text component.
Enter a resubscription confirmation message explaining that the resubscribe chatbot action has been completed.
Connect the message to the Re-subscribe action.
Save the Text component.
Save the complete flow.
An example response is:
Welcome back! You have successfully resubscribed and can now receive automated messages from our bot again.
Step 6: Return to Keyword Replies
After configuring both Quick Actions, return to the selected Webchat bot.
Go to:
Automation → Keyword Replies
Click the Create button on the right side of the page.
This opens a new Flow Builder where you can create the menu containing the Unsubscribe and Resubscribe buttons.
Step 7: Configure the Trigger Keywords
In the new Flow Builder, open the Start Bot Flow block.
Enter the keywords that should activate the flow.
Example:
hello, hi, start
Choose the matching method.
For this setup, you can select:
Exact keyword match
With exact matching, the user’s complete message must match one of the configured trigger keywords. Clear and non-overlapping keywords help prevent multiple chatbot flows from being activated by the same message.
Enter a descriptive reference title, such as:
Subscription Options
Save the Start Bot Flow configuration.
Step 8: Add a Welcome Text Message
From the Start Bot Flow block, select Compose Next Message and add a Text component.
Enter a message that explains the available options.
Example:
Hello there! How can I help you? Use the buttons below to manage your messaging preferences.
A more direct version is:
Choose whether you want to use chatbot unsubscribe or resubscribe chatbot options to manage your automated messages.
Save the Text component and confirm that it is connected to the Start Bot Flow block.
BotSailor’s Flow Builder uses connected trigger and message components to determine what the bot should send after a user activates a flow.
Step 9: Add the Unsubscribe Button
From the Text component, click Add Buttons.
Create the first button and configure it as follows:
Button Title:
Unsubscribe
When user presses the button:
System Default Action Button
Action Type:
Unsubscribe
Click the button-level Save option.
This setting connects the visible Unsubscribe button to BotSailor’s system unsubscribe action and completes the chatbot unsubscribe workflow.
Step 10: Add the Resubscribe Button
Return to the Text component and add a second button.
Configure it as follows:
Button Title:
Resubscribe
When user presses the button:
System Default Action Button
Action Type:
Re-subscribe
Click Save in the button configuration panel.
Make sure that you select Re-subscribe as the Action Type rather than assigning an ordinary reply or URL action.
Step 11: Check the Complete Flow
Your flow should now contain:
A Start Bot Flow block with the trigger keywords.
A welcome Text component.
An Unsubscribe button.
A Resubscribe button.
The structure should appear as:
Start Bot Flow → Welcome Text → Unsubscribe Button
Start Bot Flow → Welcome Text → Resubscribe Button
More precisely, both buttons should branch from the same welcome Text component.
Check that:
The Start Bot Flow is connected to the Text block.
Both buttons are connected to the Text block.
The Unsubscribe button has the Unsubscribe action.
The Resubscribe button has the Re-subscribe action.
Step 12: Save the Complete Bot Flow
After saving each individual button, click the main Save button in the upper-right corner of the Flow Builder.
This is important because saving a button configuration does not necessarily mean that the complete bot flow has been saved.
Before leaving, verify that:
The correct Website Chat bot is displayed.
The trigger keywords are correct.
The welcome message is saved.
Both buttons are connected.
Each button uses the correct system action.
The complete flow has been saved.
Step 13: Open Your Website and Refresh the Page
Visit the website where the BotSailor Webchat widget is installed.
Refresh the page so that the latest bot configuration loads. Then open the chat widget.
For a cleaner test, you can also:
Close and reopen the widget.
Clear the browser cache.
Use an incognito or private browsing window.
Step 14: Trigger the Button Menu
Enter one of the configured keywords.
For example:
hi
The bot should display the welcome message followed by two buttons:
Unsubscribe
Resubscribe
Click Unsubscribe.
The bot should display the unsubscribe confirmation message that you configured in the Quick Actions flow.
Step 15: Test the Resubscribe Action
After unsubscribing, click the Resubscribe button.
The bot should restore the user’s subscription status through the resubscribe chatbot action and display the configured resubscription confirmation.
Test both actions independently to confirm that they perform the correct system behaviour.
Success Verification
Your setup is successful when:
The selected Webchat bot is active.
The Un-subscribe Quick Action contains the correct confirmation message.
The Re-subscribe Quick Action contains the correct confirmation message.
The keyword-reply flow opens when a configured keyword is entered.
The welcome message displays both buttons.
Clicking Unsubscribe opts the user out and shows the correct confirmation. This confirms that the chatbot unsubscribe process is working.
Clicking Resubscribe restores the user’s subscription.
The actions remain functional after the website is refreshed.
Troubleshooting
The buttons do not appear
Check that both button blocks are connected to the welcome Text component. Also confirm that the complete Flow Builder was saved.
Clicking Unsubscribe does nothing
Open the Unsubscribe button configuration and verify:
When user presses the button: System Default Action Button
Action Type: Unsubscribe
Save the button and then save the complete flow again.
The Resubscribe button performs the wrong action
Confirm that the second button uses Re-subscribe as its Action Type. Do not assign the ordinary Unsubscribe action to both buttons.
The flow does not start
Check that the entered message exactly matches a configured keyword. For example, an exact-match trigger for hi may not activate when the user enters hi there. BotSailor recommends using clear triggers and avoiding overlapping keywords across different flows.
The old version of the bot appears
Refresh the website and reopen the chat widget. You may also need to clear your browser cache or test in a private window.
The confirmation message is incorrect
Return to:
Automation → Quick Actions → Un-subscribe or Re-subscribe
Open the appropriate Text component, update the message, and save both the component and complete action flow.
Next Steps
After the basic setup works, you can improve the experience by:
Explaining what users will stop receiving before they unsubscribe.
Adding a support or “Chat with Human” option.
Adding a privacy-policy link.
Showing a confirmation prompt before unsubscribing.
Adding separate flows for notification preferences.
Tracking subscription actions with tags, lists, webhooks, or integrations.
Personalizing the confirmation with the visitor’s name.
BotSailor’s Flow Builder supports additional message and automation components, including text, media, conditions, user inputs, and integrations.


