Zoho FSM | Create a Work Order in Zoho FSM from a Sales Order in Zoho Books

Create a Work Order in Zoho FSM from a Sales Order in Zoho Books

Use case: Whenever a Sales Order is created in Zoho Books, create a Work Order for it in Zoho FSM.
 
Follow the steps below to implement this use case:

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

To create a connection for Zoho FSM that can be used in Zoho Books for invoking the Zoho FSM APIs, do the following:
  1. Log in to Zoho Books.
  2. Navigate to Settings > Developer Data > Connections and click New 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 a Scope Display Name.



  5. Do the following and click Create And Connect:
    1. Connection Name: Zoho FSM
      The Connection Link Name will be automatically populated.
    2. Disable Use Credentials Of Login User. If this is disabled, the connection will utilize the credentials of the connection owner.

    3. Select the Scope ZohoFSM.modules.all.



  6. Click Connect in the authentication page.



  7. 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 function in Zoho Books    

Create a custom function that will generate a Work Order in Zoho FSM from a Sales Order in Zoho Books.
  1. Navigate to Settings > Automation > Workflow Actions. Select Custom Functions and click New Custom Function.



  2. Enter the following details and click Proceed:
    1. Function Name: createwofromso
    2. Module: Sales Order



  3. In the Deluge Script Editor, enter this script and click Save.
In Zoho Books, ensure that the status of the internal connections for Zoho Books, and Zoho FSM Integration tasks is Connected. The green dot [] indicates that the connection is Connected.
 

Step 3: Create a workflow rule in Zoho Books     

Create a workflow that will generate a Work Order in Zoho FSM whenever a Sales Order is created in Zoho Books.
  1. Navigate to Settings > Automation > Workflow Rules and click New Workflow Rule.



  2. In the New Workflow Rule popup, enter the following details and click Next:
    1. Workflow Rule Name: CreateWOFromSO
    2. Module: Sales Order



  3. For Workflow Rule Execution Condition, enter the following details and click Next.
    1. Workflow type: Event Based
    2. Action Type: Created



  4. Click New Criteria.
  5. Select No for Add criteria for this workflow rule? and click Done.



  6. Click Immediate Actions.



  7. Select the Type as Custom Functions and for Name, select the function created in the previous step. Click Associate.



  8. Click Save.


Testing the use case 

Following are the steps to test the use case discussed.
  1. Ensure that the Sales Orders module is enabled in Zoho Books. You can check this at Settings > Preferences > General > Select the modules you would like to enable.



  2. Navigate to Sales > Sales Orders and click New.



  3. Enter the necessary details and save (Save as Draft, Save and Send, etc.) the sales order.
    If you are creating a sales order using a Zoho FSM contact, ensure that a Service Address, Billing Address, and Email is present for the contact. If you are creating a sales order using a customer present only in Zoho Books, ensure that the customer is of type Individual and they have an email. Since a work order in Zoho FSM should have at least one service, ensure that you add to the sales order a service that is present in Zoho FSM. If you do not want to add a service in your sales order, in Zoho FSM create a dummy service with Unit Price zero, and make use of it in the sales order.

A new work order is created in Zoho FSM for the same customer for whom the sales order was created in Zoho Books.



      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 FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              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
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform 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

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

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

                                                                   
                                                                    

                                                                  Videos

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

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    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 a Work Order in Zoho FSM from an Invoice in Zoho Books

                                                                                                                              Use case: Whenever an Invoice is created in Zoho Books, create a Work Order for it in Zoho FSM. Follow the steps below to implement this use case: Step 1: Create a connection for Zoho FSM in Zoho Books Step 2: Create a custom function in Zoho Books ...
                                                                                                                            • 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 ...
                                                                                                                            • Create an Estimate in Zoho Invoice from a Work Order in Zoho FSM

                                                                                                                              Use case: Whenever a Work Order is created in Zoho FSM, create an Estimate for it in Zoho Invoice. Follow the steps below to implement this use case: Step 1: Create a custom function Step 2: Create a workflow rule Step 1: Create a custom function ...
                                                                                                                            • Create a Work Order in Zoho FSM from a Task in Zoho Desk

                                                                                                                              Usecase: Create a Work order in Zoho FSM whenever a Task is added in Zoho desk. Step 1: Create a connection for Zoho FSM in Zoho Desk Step 2: Create a custom function Step 3: Create a workflow rule Step 1: Create a connection for Zoho FSM in Zoho ...
                                                                                                                            • Create an event in monday.com Calendar for a Zoho FSM Work Order

                                                                                                                              Use case: Create an event in the monday.com calendar when a work order is created Step 1: Create a custom function Step 2: Create a workflow rule Step 1: Create a custom function Add a custom function that will create an event in Monday.com calendar ...
                                                                                                                              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