Triggering Workflow

Triggering Workflow

Hey I am using ZOHO CRM with the extension with Active campaign, From active campaign all the data was receiving into CRM, but from CRM those data has to go to google sheets, It was done in workflow rules but the data was not gettiing triggered in the zoho flow this is the code for the extension


acModuleMap.put("activecampaign1__Subject",parameters.get("campaign[message][subject]"));
acModuleMap.put("activecampaign1__AC_List",ListNameValue.toString());
acModuleMap.put("activecampaign1__Email",parameters.get("contact[email]"));
acModuleMap.put("activecampaign1__Created_Time",parameters.get("date_time"));
acModuleMap.put("activecampaign1__Event_Type",acType);
if(!isNull(contactId))
{
if(choosenModule == 'Contacts' && recordFoundInChosenModule)
{
acModuleMap.put("activecampaign1__Contact_Name",contactId);
}
else if(choosenModule == 'Contacts' && recordFoundInOtherModule)
{
acModuleMap.put("activecampaign1__Lead_Name",contactId);
}
else if(choosenModule == 'Leads' && recordFoundInChosenModule)
{
acModuleMap.put("activecampaign1__Lead_Name",contactId);
}
else if(choosenModule == 'Leads' && recordFoundInOtherModule)
{
acModuleMap.put("activecampaign1__Contact_Name",contactId);
}
}
triggerMap = List();
triggerMap.add("workflow");
triggerMap.add("blueprint");
triggerMap.add("approval");
mapp = Map();
mapp.put("trigger",triggerMap);
if(debug)
{
sendmail
[
from :zoho.adminuserid
to :zoho.adminuserid
subject :"acModuleMap"
message :"acModuleMap ::::: " + acModuleMap
]
}



          Zoho TeamInbox Resources

            Zoho DataPrep Resources


                Zoho CRM Plus Resources

                  Zoho Books Resources


                    Zoho Subscriptions Resources

                      Zoho Desk Resources

                        Zoho Projects Resources


                          Zoho Sprints Resources


                            Zoho Orchestly Resources


                              Zoho Creator Resources


                                Zoho WorkDrive Resources




                                    Zoho Campaigns Resources

                                      Zoho CRM Resources

                                                    Design. Discuss. Deliver.

                                                    Create visually engaging stories with Zoho Show.

                                                    Get Started Now


                                                      Zoho Show Resources


                                                        Zoho Writer Writer

                                                        Get Started. Write Away!

                                                        Writer is a powerful online word processor, designed for collaborative work.

                                                                  有料プランをご利用の方