Customs functions and workflow - Customers

Customs functions and workflow - Customers

Summary

To synchronize Zoho Books's clients to ALIX's contacts, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for clients create, update and delete.

It is mandatory to have previously created a connection between the applications. To know how to create a connection, click here.

 Create and update

 1. Custom function

  1. Go to Settings -» Automation -» Custom functions

  2. Create a new function.

    1. Name the function.

    2. Select the Client module.

    3. Copy/paste this function :

      bodyMap = Map:String();
      bodyMap.put('contact',customer);
      response = invokeurl
      [
      url :url
      type :POST
      parameters:bodyMap
      connection:"alix"
      ];
At line 9, replace "alix" with the custom function's name

 2. Workflow rule

  1. Go to Settings -» Automation -» Workflow rules.

  2. Create a new workflow.

  3. Entrer the following information : 
            
            


 Delete

 1. Custom function

  1. Go to Settings -» Automation -» Custom functions

  2. Create a new function.

    1. Name the function.

    2. Select the Client module.

    3. Copy/paste this function :

      response = invokeurl
      [
      url :url
      type :DELETE
      connection:"alix"
      ];

At line 6, replace "alix" with the custom function's name

 2. Workflow rule

  1. Go to Settings -» Automation -» Workflow rules.

  2. Create a new workflow.

  3. Entrer the following information : 
            














            




    • Related Articles

    • Customs functions and workflow - Vendors

      Summary To synchronize Zoho Books's vendors to ALIX's contacts, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for vendors create, update and delete. It is ...
    • Customs functions and workflows - Invoices

      Summary To enable ALIX to create a draft invoice in Zoho Books, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for invoices create, update and delete. It ...
    • Customs functions and workflows - Bills

      Summary To enable ALIX to create a draft bill in Zoho Books, it's necessary to create custom functions and workflows in Zoho Books. Theses automations manage synchronisation between the two applications for bill create, update and delete. It is ...
    • "Active/inactive" status for customers/vendors

      Summary The "active/inactive" status allows you to remove from your list a former customer/vendor with whom you no longer do business, but still keep it for history. This status is reversible and is synchronized with Zoho Books. Deactivate a ...
    • How to create and edit customers and vendors

      Summary This article describes how to create and edit customers and vendors. Since their screens are almost identical, the procedure described here works for both entities. The information recorded in these sections is essential for several ...