Create Lead in Zoho CRM from Zoho Flow executing the Assignment Rules

Create Lead in Zoho CRM from Zoho Flow executing the Assignment Rules

When creating a Lead in Zoho CRM from a Zoho Flow, the workflows are not triggered.

To solve this problem, the solution consist in creating a custom function in Zoho Flow to create the Lead in the CRM, passing "Trigger" parameters.
Here is an example:
void CreateLeadWithAssignRule(string sLastName, string sEmail)
{
sRuleID = "199073000001116094";
mapLead = Map();
mapLead.put("Last_Name",sLastName);
mapLead.put("Email",sEmail);
Response = zoho.crm.createRecord("Leads",mapLead,{"trigger":{"workflow","blueprint","approval","orchestration"},"lar_id":sRuleID});
}
Where "lar_id" is the ID of the Assignment Rule in the CRM.
    • Related Articles

    • Le déclencheur Webhook - Zoho Flow

      Qu'est-ce qu'un webhook ? Un webhook est un rappel d'URL  (callback en anglais) défini par l'utilisateur. Il s'agit d'un mécanisme qui permet aux applications de recevoir des mises à jour de données en temps réel par le biais d'un appel d'URL. Pour ...