Workflows for Kylas
Send automated WhatsApp messages using Kylas CRM. Set up a workflow to send template messages when a lead is created. Follow our step-by-step guide in the CRM settings.
Last updated
Send automated WhatsApp messages using Kylas CRM. Set up a workflow to send template messages when a lead is created. Follow our step-by-step guide in the CRM settings.
Last updated
You can send a template message as soon as a lead gets created in Kylas CRM.
You can send the Template message(s) that is/are verified by META.
Go to your Kylas CRM and navigate to CRM Settings at the bottom left of the navigation pane.
In the CRM Settings, navigate to Automations. Under Automations, you will get the Workflow. Click on it.
Click on Add a Workflow as shown in the picture below.
After clicking, it will ask you to Name your Workflow, and let's name it sending_message.
Choosing the Entity is the next step. Options available for Entity are Lead, Contact, Deal, Task, Call Log, and Meeting. Select from the options you would like to create an automated flow for. We will take Entity - Lead to create an automated flow as an example.
Next is selecting an action type and trigger preference to your workflow.
We will take the action type as When a Lead is Created and the trigger as Immediately.
Next is setting conditions and the action to be performed automatically. We will take the Condition as All Leads, and the action as Webhook.
A pop-up will appear to edit the webhook. Edit the name and if you would like to add the description, please add.
Select the Request type as Post and for the Request URL paste -
We have named the webhook as sending_message.
Select the authorization as API Key. In place of Key Name paste apikeysecret and for the value pass both apikey and apisecret separated with colon (:).
Get the apikey and apisecret from your Gallabox Account.
The last Step in editing the webhook is to add the parameters that you would like to push for the sending the automatic message when a lead is created in Kylas CRM.
We have added channelId, templateName, recipientName, recipientPhones, and Name (Variable Name defined in the Message template).
Copy paste the variables like channelId or templateName as they are without any change.
You can add the parameters like headerMediaUrl, headerMediaName, footerButtondomain, and footerButtonUrl depending on the message template you have created. Go toto get more idea on how to add the custom variables.
Click on Save to Save the Webhook.
The pop-up will close and you will be redirected to the workflow window and you have to click on Save again.
The automation is complete and wherever a lead is created in Kylas CRM, an automatic message will be shared with them over WhatsApp.
You can push the Contact details from Kylas to Gallabox as soon as the lead gets created or when the lead is updated.
Let's take a step-by-step approach to make this happen.
Go to your Kylas CRM and navigate to CRM Settings at the bottom left of the navigation pane.
In the CRM Settings, navigate to Automations. Under Automations, you will get the Workflow. Click on it.
Click on Add a Workflow as shown in the picture below.
After clicking, it will ask you to Name your Workflow, and we have named it upsert_contacts for example.
Selecting Entity is the next step. Options available for Entity are Lead, Contact, Deal, Task, Call Log, and Meeting. Select from the options you would like to create an automated flow for. We will take Entity - Lead to create an automated flow as an example.
Next is selecting an action type and trigger preference to your workflow.
We will take the action type as When a Lead is Created and the trigger as Immediately.
Next is setting conditions and the action to be performed automatically. We will take the Condition as All Leads, and the action as Webhook.
A pop-up will appear to edit the webhook. Edit the name and if you would like to add the description, please add.
Select the Request type as Post and for the Request URL paste -
We have named the webhook as upsert_contacts.
Select the authorization as API Key. In place of Key Name paste apikeysecret and for the value pass both apikey and apisecret separated with colon (:).
Get the apikey and apisecret from your Gallabox Account.
The last Step in editing the webhook is to add the parameters that you would like to push for the lead in Gallabox. We have added Name, Email, Phone, and ContactownerId. You can add the parameters like tags or any field value.
Copy paste the variables like channelId or templateName as they are without any change.
You can add the parameters like headerMediaUrl, headerMediaName, footerButtondomain, and footerButtonUrl depending on the message template you have created. Go toto get more idea on how to add the custom variables.
Click on Save to Save the Webhook.
The pop-up will close and you will be redirected to the workflow window and you have to click on Save again.
The automation is complete and wherever a lead is created in Kylas CRM, it will be pushed to Gallabox.