The Intercom Plugin is designed to seamlessly integrate Intercom's customer communication platform into your Bubble.io applications. This plugin provides four main actions: Create User, Show Intercom, Hide Intercom, and Shutdown Intercom. Additionally, you can generate secure user sessions using cryptographic hashing.
Actions
Create User
Purpose: This action allows you to create a new user in Intercom.
Steps:
Navigate to the workflows section in your Bubble.io editor.
Select the event that will trigger the user creation (e.g., when a user signs up).
Add the "Create User" action from the Intercom plugin.
Fill in the required user details (e.g., email, name, user ID).
Show Intercom
Purpose: This action displays the Intercom chat widget to the user.
Steps:
Choose the event that will trigger the widget to show (e.g., page load or button click).
Add the "Show Intercom" action from the Intercom plugin to the workflow.
No additional configuration is needed for this action.
Hide Intercom
Purpose: This action hides the Intercom chat widget from the user.
Steps:
Select the event that will trigger the widget to hide (e.g., user logout or button click).
Add the "Hide Intercom" action from the Intercom plugin to the workflow.
No additional configuration is needed for this action.
Shutdown Intercom
Purpose: This action completely shuts down the Intercom session, useful when a user logs out or no longer needs access to Intercom.
Steps:
Identify the event that will trigger the shutdown (e.g., user logout).
Add the "Shutdown Intercom" action from the Intercom plugin to the workflow.
No additional configuration is needed for this action.
Generating Secure User Sessions
To enhance security, you can generate secure user sessions using cryptographic hashing. Follow these steps to set it up:
Install the Cryptographic Hashing Plugin:
Go to the Bubble.io plugin marketplace.
Search for and install the "Cryptographic Hashes Plugin" using this link: Cryptographic Hashes Plugin.
Hash the User’s ID:
In your workflow, add an action to use the SHA256 function from the Cryptographic Hashes Plugin.
Input the user's ID into the SHA256 function to generate a hashed ID.
Configure the Intercom Plugin:
Navigate to the Intercom plugin settings in your Bubble.io editor.
Input the hashed ID as the user hash in the plugin settings.