Line 9:
Line 9:
[[Category:Zapier]]
[[Category:Zapier]]
+
[[Category:No Code Automation]]
{{TemplateDocUser}}
{{TemplateDocUser}}
{{TemplateModEN}}
{{TemplateModEN}}
{{BasculeDevUser|
{{BasculeDevUser|
nom=Zapier|
nom=Zapier|
−
num=|
+
num=50330|
devdoc=[[Module Zapier (developer)]]|
devdoc=[[Module Zapier (developer)]]|
userdoc=This page|}}
userdoc=This page|}}
Line 19:
Line 20:
=Introduction=
=Introduction=
This module is to manage links between Dolibarr and Zapier.
This module is to manage links between Dolibarr and Zapier.
+
+
Some information and code examples are also available on [https://github.com/Dolibarr/dolibarr-integration-resources/tree/main/zapier this page].
=Installation=
=Installation=
Line 90:
Line 93:
===Creating a connection for the App===
===Creating a connection for the App===
−
Go into Zapier dashboard and create a Connection.
+
Enable the REST API in Dolibarr. They are used by Zapier, starting with the login API.
+
+
Go into Zapier dashboard and create a Connection: Go into "My Apps - Custom integration", then "Add Connection".
+
+
If the App does not appear into list to add a connexion, forget this step and to to create a Zap directly, the connection creation may be asked later).
+
If the Connection can be created, enter the URL of your Dolibarr Login page.
+
+
* The URL must not end with /. For example: https://mydomain or https://mydomain/mydoli/htdocs
−
Enter the URL of your Dolibarr Login page and the login / pass of an existing account. For authentication, you must enter the login / pass of an existing account that will be used by Zapier to call APIs. Give the permission to this user according to the action that Zapier will ask to your Dolibarr.
+
Enter the login / pass of an existing account.
+
* For authentication, you must enter the login / pass of an existing account that will be used by Zapier to call APIs. Give the permission to this user according to the action that Zapier will ask to your Dolibarr.
+
* If you have a SSL certificate error when accessing your web site because of an auto-signed certificate, you can disable SSL certificate check from Zapier Settings - Advanced setting.
+
* If you web instance is protected by a HTTP Basic protection, you must keep the public URLs opened for external tool. This is a sample of the directive to use to exclude some pages to the HTTP Basic protection
+
{{ExcludeDirForBasicHTTP}}
==Create a Zap==
==Create a Zap==
Create a ZAP that use the application you registered from the Zapier interface https://www.zapier.com
Create a ZAP that use the application you registered from the Zapier interface https://www.zapier.com