Text Message and Email Notifications when a user Joins Chat: A Tutorial
Table of contents
In this guide we will go through the process of setting up an email and SMS notification whenever a user joins Dead Simple Chat, Chat Room.
We will use Zapier and Webhooks feature from Dead Simple Chat to allow this functionality.
💡 New to DeadSimpleChat? It's a turn key chat that you can easily add to your website or App —without any complicated code. For Virtual / Live events, SaaS App, Social Platform, Education, Gaming, Finance Sign Up for Free
Here are the Steps:
- Go to zapier.com and signup for an account
- Click on "Create Zap Button"
- Select "Webhook:
- Select the option "Catch a Hook"
- Copy the Webhook URL
- Go to deadsimplechat.com/login and login to your dashboard and Turn On Webhooks
- Paste the Webhooks URL and Turn on the "User Joined Chat Room" webhook and press the save button
- Now Join a Chat Room, this will trigger the Webhook and then go back to Zapier and click on the "Test Trigger" button, this should load the Webhook data. Once it is loaded click continue button
- Now Select Email by Zapier
- Select Send and Outbound Mail and click Continue
- Under the "to" field type in the email address where you would like to receive the notification when a new user joins the chat room
- Enter the Subject and Body of the Email. You can also Populate the Subject and Body with the values received from the Webhook. The Webhook data will contain the details about the user who has joined the chat room including the username, profile picture of the user etc. which you can populate in the Subject and Body
- Once Done Click Test and Continue and Publish the Zap. That's it!
Send Text Message Notification
- To Send a Text Message Notification as well, insted of Pressing Publish Zap press the "+" button
- Search "SMS" and Select SMS by Zapier
- Select Choose and Event, "Send SMS"
- Enter your Phone number and Confirm the PIN
- Type in the Message body, you can also populate the field from the Webhook to dynamically specify the username of the user who has joined the chat room
- Click Continue and Test and Continue and Publish the Zap
That's it! We have now setup a Zap to Automatically Send an Email or SMS notification whenever a user joins the chat room.
Â