Push Zoho CRM Contacts and Accounts to Zoho FSM

Push Zoho CRM Contacts and Accounts to Zoho FSM

Usecase: Use custom buttons in Zoho CRM to do the following:
  1. Push (create/update) a Zoho CRM contact to Zoho FSM. If the contact has an associated account, create that account as a company in FSM.
  2. Push (create/update) a Zoho CRM account as a company to FSM.
Follow the steps below to implement this usecase:
Step 1: Create a connection for Zoho FSM in Zoho CRM
Step 2: Create a custom button
Step 3: Create a custom function

Step 1:  Create a connection for Zoho FSM in Zoho CRM  

To create a connection for Zoho FSM that can be used in Zoho CRM for invoking the Zoho FSM APIs, do the following:
  1. Log in to Zoho CRM.
  2. Navigate to Setup > Developer Space > Connections and click Create Connection.



  3. In the Create Connection page, select the Custom Services tab and click Create New Service.



  4. In the Create Service page, enter the following details and click Create Service.
    1. Service Name: Zoho FSM
      The Service Link Name will be automatically populated.
    2. Authentication Type: OAuth2
    3. Parameter Type: Header
    4. Generated Client ID, Client Secret
    5. Authorize URL: https://accounts.zoho.com/oauth/v2/auth?access_type=offline&prompt=consent
    6. Access Token URL: https://accounts.zoho.com/oauth/v2/token
    7. Refresh Token URL: https://accounts.zoho.com/oauth/v2/token
    8. Scope: ZohoFSM.modules.all
      Provide values for Scope Display Name.



  5. Click Create Connection.
  6. Do the following and click Create And Connect:
    1. Connection Name: FSMConnection
    2. Select the Scopes ZohoFSM.modules.all



  7. Click Connect in the authentication page.



  8. Click Accept in the authorization page.

In the custom function, where FSM APIs are used via the invokeURL task, use this Connection Link Name.
 

Step 2: Create a custom button

Create a custom button in the Contacts module to push a CRM contact and its associated account as Contact and Company in FSM respectively. If the contact is already present in FSM, then update the record details.
 
To create a custom button:
  1. Navigate to Setup > Customization > Modules and Fields and click the Contacts module.



  2. Select the Links and Buttons tab and click Create Your First Button.



  3. In the Create Your Button page, do the following and click Save:
    1. What would you like to name the button?: Create_Update Contact in ZFSM
    2. Where would you like to place the button?: Details Page
    3. What action would you like the button to perform?: Writing Function
      Create a custom function.


Similarly, create a button in the Accounts module to push an account as Company in FSM. If the company is already present in FSM, then update the record details.

Step 3: Create a custom function

  1. In the Create New Function popup, enter the following and click Create.
    1. Function Name: CreateUpdateCustomerInZFSM
    2. Display Name: CreateUpdateCustomerInZFSM



  2. In the Deluge Script Editor, click Edit Arguments.



  3. In the Edit Arguments popup, do the following:
    1. Enter the argument name as contact_id.
    2. For the argument value, type # and select Contacts - Contact Id and click Done.



      When you create the custom function for the Accounts module, add an argument account_id and map it to Account Id of Accounts.
  4. Click Save.



  5. Add the script and click Save.

Follow similar steps to create a custom function that will add a CRM Account as Company in FSM. Use this script.

Testing the use case 

Click the Create_Update Contact in ZFSM button in a Contacts record.
 

 
A new Contact and the associated Company (if present) will be created in FSM if not already present. If the Contact is already present, then the details will be updated.
 

 
Similarly, you can push an Account in CRM as a Company to FSM.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              WCAG



                                        Create. Review. Publish.

                                        Write, edit, collaborate on, and publish documents to different content management platforms.

                                        Get Started Now







                                                          You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                              Manage your brands on social media


                                                                • Desk Community Learning Series


                                                                • Digest


                                                                • Functions


                                                                • Meetups


                                                                • Kbase


                                                                • Resources


                                                                • Glossary


                                                                • Desk Marketplace


                                                                • MVP Corner


                                                                • Word of the Day


                                                                • Ask the Experts


                                                                  Zoho Sheet Resources

                                                                   

                                                                      Zoho Forms Resources


                                                                        Secure your business
                                                                        communication with Zoho Mail


                                                                        Mail on the move with
                                                                        Zoho Mail mobile application

                                                                          Stay on top of your schedule
                                                                          at all times


                                                                          Carry your calendar with you
                                                                          Anytime, anywhere




                                                                                Zoho Sign Resources

                                                                                  Sign, Paperless!

                                                                                  Sign and send business documents on the go!

                                                                                  Get Started Now




                                                                                          Zoho TeamInbox Resources





                                                                                                    Zoho DataPrep Demo

                                                                                                    Get a personalized demo or POC

                                                                                                    REGISTER NOW


                                                                                                      Design. Discuss. Deliver.

                                                                                                      Create visually engaging stories with Zoho Show.

                                                                                                      Get Started Now









                                                                                                                          • Related Articles

                                                                                                                          • Create Requests in Zoho FSM from Zoho CRM Deals

                                                                                                                            Usecase: Using a custom button, push Deals in Zoho CRM as Requests to Zoho FSM. Step 1: Create a connection for Zoho FSM in Zoho CRM Step 2: Create a custom button Step 3: Create a custom function Step 1: Create a connection for Zoho FSM in Zoho CRM ...
                                                                                                                          • Installation And Usage Guide for Zoho FSM Extension for Zoho Desk

                                                                                                                            The Zoho FSM for Zoho Desk is an extension that will help you streamline the process of handling customer issues and requests by facilitating easy and direct communication between Zoho FSM and Zoho Desk. Ensure that every customer interaction is ...
                                                                                                                          • Create a Work Order in FSM from a CRM Sales Order

                                                                                                                            Use case: Create a work order in Zoho FSM whenever a sales order is created in Zoho CRM. Follow the steps below to implement this use case: Step 1: Create a connection for Zoho FSM in Zoho CRM Step 2: Create a workflow rule Step 3: Create a custom ...
                                                                                                                          • Push Zoho FSM Contacts to Google Contacts

                                                                                                                            Use case: Push (create/update) a Zoho FSM contact to Google Contacts. Changes made to the Name, Email, Mobile, Phone, or Service Address of the Zoho FSM Contact will reflect in the corresponding Google Contact. Follow the steps below to implement ...
                                                                                                                          • Handling Error Scenarios For Zoho FSM Extension for Zoho CRM

                                                                                                                            Scenario 1: Unsupported edition Zoho FSM for Zoho CRM cannot be used with the free edition of Zoho FSM. Click Open FSM and upgrade to a paid plan if you want to use the extension. Also, if your Zoho FSM account gets downgraded to the free edition, ...
                                                                                                                            Wherever you are is as good as
                                                                                                                            your workplace

                                                                                                                              Resources

                                                                                                                              Videos

                                                                                                                              Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                              eBooks

                                                                                                                              Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                              Webinars

                                                                                                                              Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                              CRM Tips

                                                                                                                              Make the most of Zoho CRM with these useful tips.



                                                                                                                                Zoho Show Resources