Links

Workflows for Kylas

WhatsApp Messages from Kylas

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.
  1. 1.
    Go to your Kylas CRM and navigate to CRM Settings at the bottom left of the navigation pane.
Kylas Dashboard
  1. 2.
    In the CRM Settings, navigate to Automations. Under Automations, you will get the Workflow. Click on it.
Automations in Kylas CRM Settings
  1. 3.
    Click on Add a Workflow as shown in the picture below.
Add a Workflow
  1. 4.
    After clicking, it will ask you to Name your Workflow, and let's name it sending_message.
Naming the Workflow
  1. 5.
    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.
Selecting an Entity
  1. 6.
    Next is selecting an action type and trigger preference to your workflow.
Selecting an Action Type
  1. 7.
    We will take the action type as When a Lead is Created and the trigger as Immediately.
Selecting the trigger
  1. 8.
    Next is setting conditions and the action to be performed automatically. We will take the Condition as All Leads, and the action as Webhook.
Setting the Condition and the action to be performed
  1. 9.
    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 - https://workflow.gallabox.com/webhook/messages/whatsapp/form
We have named the webhook as sending_message.
Editing the name , Request Type, and URL for Webhook
  1. 10.
    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.
Inserting the Key Name and Value
  1. 11.
    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 toBroken linkto get more idea on how to add the custom variables.
Adding the Parameters
  1. 12.
    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.
Saving the workflow
The automation is complete and wherever a lead is created in Kylas CRM, an automatic message will be shared with them over WhatsApp.

Move Contacts

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.
  1. 1.
    Go to your Kylas CRM and navigate to CRM Settings at the bottom left of the navigation pane.
Kylas Dashboard
  1. 2.
    In the CRM Settings, navigate to Automations. Under Automations, you will get the Workflow. Click on it.
Automations in Kylas CRM Settings
  1. 3.
    Click on Add a Workflow as shown in the picture below.
Add a Workflow
  1. 4.
    After clicking, it will ask you to Name your Workflow, and we have named it upsert_contacts for example.
Naming the Workflow
  1. 5.
    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.
Selecting an Entity
  1. 6.
    Next is selecting an action type and trigger preference to your workflow.
Selecting an Action Type
  1. 7.
    We will take the action type as When a Lead is Created and the trigger as Immediately.
Selecting the trigger
  1. 8.
    Next is setting conditions and the action to be performed automatically. We will take the Condition as All Leads, and the action as Webhook.
Setting the Condition and the action to be performed
  1. 9.
    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 - https://workflow.gallabox.com/webhook/contacts/upsert/form
We have named the webhook as upsert_contacts.
Editing the name , Request Type, and URL for Webhook
  1. 10.
    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.
Inserting the Key Name and Value
  1. 11.
    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 toBroken linkto get more idea on how to add the custom variables.
Adding the Parameters
  1. 12.
    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.
Saving the workflow
The automation is complete and wherever a lead is created in Kylas CRM, it will be pushed to Gallabox.
Last modified 4mo ago