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.

    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








                                    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

                                          Zoho Desk Resources

                                          • Desk Community Learning Series


                                          • Digest


                                          • Functions


                                          • Meetups


                                          • Kbase


                                          • Resources


                                          • Glossary


                                          • Desk Marketplace


                                          • MVP Corner


                                          • Word of the Day


                                            Zoho Marketing Automation

                                              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 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

                                                                                                      • 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 ...
                                                                                                      • Create Requests in Zoho FSM from Zoho CRM Deals

                                                                                                        Usecase: Using a custom button, push Deals in Zoho CRM as Requests to Zoho FSM. Also, create a related list in the Deals record that lists the Requests created for the Deal. Step 1: Create a connection for Zoho FSM in Zoho CRM Step 2: Create a custom ...
                                                                                                      • Zoho FSM Extension for Zoho CRM (Direct Data Sync)

                                                                                                        Prerequisites - Standard edition or above of Zoho FSM - Standard edition or above of Zoho CRM - Zoho CRM is not integrated with a Zoho Finance Suite (Books/Invoice) org Install the Extension You can install Zoho FSM for Zoho CRM either from Zoho ...
                                                                                                      • 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, ...
                                                                                                      • Integrating Zoho FSM with Zoho CRM

                                                                                                        Zoho FSM for Zoho CRM is a must-have extension for increasing collaboration between your sales and service teams. It can benefit the sales and service teams by providing them with a consolidated view of customers, enabling quicker and more efficient ...
                                                                                                        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