WFH Tip 21: How to edit sample codes with connections and use them for your business?

WFH Tip 21: How to edit sample codes with connections and use them for your business?

Greetings from Zoho SalesIQ!
SalesIQ has a great collection of Sample Zobot Codes that you can use for your own business by making a few minor tweaks. Some of these Sample Codes come with code that is built to establish connections with services other than SalesIQ. This tip will tell you how you can quickly make changes to that code and establish connections with services of your choice.

Let us consider an example.
The Webinar Zobot can help website visitors quickly register for webinars that you have scheduled by displaying the upcoming webinars along with corresponding dates. Once they register, it makes an entry inside CRM and it can also send out reminder emails before the webinar. To replace the CRM connection in the sample code with your own, all you have to do is copy-paste the sample code and replace the connection link name inside the sample script with the connection link name of the connection that you have created. Learn how to create connections.

The parameter marked in the screenshot that follows will be your connection link name.



Sample Code:
  1. //Create lead in Zoho CRM
  2. leadinfo = {"Last_Name":name,"Email":email};
  3. info zoho.crm.createRecord("Leads",leadinfo,Map(),"zohocrm25");
Edited Code:
  1. //Create lead in Zoho CRM
  2. leadinfo = {"Last_Name":name,"Email":email};
  3. info zoho.crm.createRecord("Leads",leadinfo,Map(),"myzohocrm");

To learn more about connections, start building your own Zobot right away.
We also have Sample Scripts that use connections. 
For more information, check out our Help Documentation.



    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now