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 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
- Go to Settings -» Automation -» Custom functions
- Create a new function.
- Name the function.
- Select the Vendor module.
- Copy/paste this function :
url = "https://smart.alix.ai/api/integrations/zoho-books/contacts";
bodyMap = Map:String();
bodyMap.put('contact',vendor);
response = invokeurl
[
url :url
type :POST
parameters:bodyMap
connection:"alix"
];
At line 10, replace "alix" with the custom function's name
2. Workflow rule
- Go to Settings -» Automation -» Workflow rules.
- Create a new workflow.
- Entrer the following information :
Delete
1. Custom function
- Go to Settings -» Automation -» Custom functions
- Create a new function.
- Name the function.
- Select the Vendor module.
- Copy/paste this function :
response = invokeurl
[
url :url
type :DELETE
connection:"alix"
];
Related Articles
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 ...
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 ...