Zoho FSM | Integrate with Xero

Integrate with Xero

Xero is an accounting software. This help document details the steps to integrate Xero with FSM. It broadly consists of the following:
  1. Register your application in Xero
  2. Create a connection for Xero
  3. Create a custom function in FSM

Register your application in Xero 

  1. Log in to Xero Developer.
  2. Under My Apps, click New App.



  3. Enter the following details and click Create App:
    a. App name: FSM
    b. Integration type: Web app
    c. Company or application URL: https://fsm.zoho.com/home
    d. Redirect URI: https://deluge.zoho.com/delugeauth/callback
    e. Accept the Terms & Conditions.

The Client id, Client secret can be found under the Configuration tab. Click Generate a secret to obtain the client secret.
 

Create a connection for Xero

You need to create a custom connection for Xero.
  1. Navigate to Setup > Automation > Connections.
  2. Select Custom Services and click Create Service.



  3. Enter the following details and click Create Service.
    a. Service Name: Xero
        The Service Link Name will be automatically populated.
    b. Authentication Type: OAuth2
    c. Parameter Type: Header
    d. Grant Type: Authorization Code
    e. Client ID, Client Secret
        The steps to obtain the Client ID, and Client Secret are mentioned here.
    f. Authorize URL: https://login.xero.com/identity/connect/authorize
    g. Access Token URL: https://identity.xero.com/connect/token
    h. Refresh Token URL: https://identity.xero.com/connect/token
    i. Scopes (refer to the table below). Choose Space for Scope Delimiter.

    Scope

    Scope Display Name

    accounting.transactions

    accounting.transactions

    email

    email

    openid

    openid

    profile

    profile




  4. Click Create Connection.



  5. In the Create Connection page, do the following and click Create And Connect:
    a. Enter a Connection Name
    b. Disable Use Credentials of Login User
    c. Choose all the scopes



  6. Click Connect.



  7. Log in to your Xero account.



  8. To authenticate your login, either use the notification sent to your phone or the backup method.



  9. In case you are using the backup method, choose a method.



  10. In case you have chosen Backup email address, click Send Code.



  11. Enter the code and click Log in.



  12. Click Allow access for 30 minutes.


The connection for Xero is created successfully.

Create a custom function

Here is a sample custom function. This will check the tenants you're authorized to access. Similarly, you can write custom functions as per your business requirements.
  1. Navigate to Setup > Automation > Functions and click Create Function.
  2. Enter the following details:
    a. Function Name: XeroTest
    b. Select a Module, say, Contacts
    c. Copy the script below:


      response = invokeurl
      [
       url :"https://api.xero.com/connections"
       type :GET
       connection:"xero"
      ];
      info response;



 
In the script, the value to be given for connection is the Connection Link Name (refer to the screenshot below).
 


To test the function, do the following:  
  1. In the Deluge Script Editor, click Save & Execute.



  2. In the Execute Function pop-up, enter a Record ID or click Click here to get the list to obtain the list of available records.



  3. Select a record and click Execute.



  4. Click Execute.


The result of the function will be displayed.




        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

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  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

                                                                                                                                    • Integrate with QuickBooks

                                                                                                                                      QuickBooks is an accounting software. This help document details the steps to integrate QuickBooks with FSM. It broadly consists of the following: Create a connection for QuickBooks Create a custom function in FSM Create a connection for QuickBooks ...
                                                                                                                                    • Can I integrate Zoho FSM with third-party applications?

                                                                                                                                      Yes, Zoho FSM provides REST APIs (Application Programming Interface) that let you integrate FSM with third-party applications.
                                                                                                                                    • Tips - Integrations

                                                                                                                                      Does the FSM-Invoice integration support bidirectional sync? Yes, the FSM-Invoice integration does support bidirectional sync. Is it possible to integrate FSM with an existing Invoice organization? Yes, it is possible to integrate FSM with an ...
                                                                                                                                    • Installing Zoho Voice

                                                                                                                                      Zoho Voice is Zoho’s cloud-based telephony system that enables you to make, receive, and manage calls seamlessly within your Zoho applications. It helps businesses streamline communication, track call activities, and enhance customer interactions—all ...
                                                                                                                                    • What are the integrations offered by Zoho FSM?

                                                                                                                                      Zoho FSM is currently integrated with the following applications: - Zoho Invoice/Books: Zoho FSM's integration with Invoice (or Books) enables two-way data sync between the application, and helps you handle and manage all the invoices and payments ...
                                                                                                                                      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