SSO Actions
UChat now allows its users to further expand on its SSO login with SSO actions. You will now be able to link, delink channels, and other actions which you were not be able to do previously using automations in flow builder.
Using SSO Actions
Inside the flowbuilder, right click and then select “Action” block
Click on “Advance Actions”
Scroll down and select “SSO Actions”
Click on “Edit Action” to start exploring different SSO actions.
SSO Actions
Following SSO actions are currently available with UChat.
Find SSO User
This action is used to find SSO user using their attached email which they used to login using SSO.
SSO User NS and Bot User NS are two different entities, the former one is for the master user while the later one is for individual users of the respective channels that are linked with the user
Send Flow To Linked Channel User
This flow is used to send a linked user a subflow in its linked Channel. For example, sending a flow to your linked whatsapp user from SSO user.
All restrictions of channels such as 24 hour window for Meta channels still applies
Get SSO User Info
This action is used to fetch user info for SSO master user.
Get Linked Channel Users
This action is used to get information regarding all the linked channels using the SSO user NS.
Link To SSO User
This action is used to link and individual channel bot user to the SSO master user using SSO user NS.
Unlink From SSO User
This action is used to link and individual channel bot user to the SSO master user using SSO user NS.
This action can only be used inside the channel you want to delink from SSO user
SSO Actions
Create SSO User by Email
The newly added action enables the creation or linking of an SSO profile through an existing email, reducing the need for social media logins.
How to Use SSO Action
Go to the Flow builder, Select Action Node and choose Advanced Actions.
Then select SSO Actions
Here you have multiple actions to choose from.
Steps to Implement SSO via Email
Create SSO Profile Using Email
To create a new user you can select ‘Create SSO User’
The SSO channel will be based on user email
(Note: Ensure the email exists by adding a condition to check for it beforehand)
.
This setup ensures that users with the same email across different channels are recognized, avoiding repeated SSO login requests.
Find SSO Profile User
To Search SSO Profile user you can use an Action ‘Find SSO User’
You can Search SSO Profile User through Email
Send Flow to SSO Profile User
You can also send a bot flow to SSO Profile user
You can also send the flow tailored to the specific channel.
You can set the configuration and send the flow.
Similarly You can use other Actions as well according to your Requirements.
Check for Existing SSO Profile
You can also check if the user is Already a SSO Profile User
Select a condition node and choose add condition.
Now use a condition either “Is user SSO” or “Has SSO user connected” or you can use both of these conditions and check them if they both are true.
If the user has an existing SSO profile, proceed with the flow as usual. Otherwise, continue to the next step.
Benefits of SSO via Email
User-Friendly: Reduces the need for Google or Facebook logins.
Seamless Integration: Links existing emails to SSO profiles.
Consistency Across Channels: Ensures a unified experience when users interact via different platforms.