Integration of Dolibarr to the Zapier automation platform: Difference between revisions

fixing bundle and lists
(fixing bundle and lists)
Tag: 2017 source edit
Line 1: Line 1:
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}


<span id="integration-of-dolibarr-to-the-zapier-automation-platform"></span>
= Integration of Dolibarr to the Zapier automation platform =


[https://creativecommons.org/licenses/by-sa/4.0/ License CC-BY-SA 4.0]


<span id="preamble"></span>
<span id="preamble"></span>
Line 156: Line 153:
     return results;
     return results;
   });</syntaxhighlight>
   });</syntaxhighlight>
You will then have to specify a “Connection Label”, which will be displayed to the user when he connects to his Dolibarr account from Zapier. For example, you can use the first and last name of the user, or the name of the Dolibarr instance. By imagining that the user is called “John Doe” and that the Dolibarr instance is available at the address <code>https://yourdolibarrurl</code>, you can use the following value: <code>{{bundle.authData.firstname}} {{bundle.authData.lastname}}({{bundle.authData.host}})</code> which will show <code>John Doe (https://yourdolibarrurl)</code>.
 
You will then have to specify a “Connection Label”, which will be displayed to the user when he connects to his Dolibarr account from Zapier. For example, you can use the first and last name of the user, or the name of the Dolibarr instance. By imagining that the user is called “John Doe” and that the Dolibarr instance is available at the address <code>https://yourdolibarrurl</code>, you can use the following value: {{bundle.authData.firstname}} {{bundle.authData.lastname}}({{bundle.authData.host}}) which will show <code>John Doe (https://yourdolibarrurl)</code>.


Then click on the “Save &amp; Continue” button to go to the next step.
Then click on the “Save &amp; Continue” button to go to the next step.
Line 176: Line 174:
If all went well, you should see your account appear in the list of available accounts.
If all went well, you should see your account appear in the list of available accounts.


Then click on the “Test Authentication” button to check that the connection is working properly. If everything went well, you should see the result of the test query configured in step 3, i.e. the user information returned by the <code>/api/index endpoint. php/users/info</code>:
Then click on the “Test Authentication” button to check that the connection is working properly. If everything went well, you should see the result of the test query configured in step 3, i.e. the user information returned by the <code>/api/index</code> endpoint. <code>php/users/info</code>:


<syntaxhighlight lang="json">{
<syntaxhighlight lang="json">{
Line 460: Line 458:


This tutorial is licensed under a [http://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International License].
This tutorial is licensed under a [http://creativecommons.org/licenses/by-sa/4.0/ Creative Commons Attribution-ShareAlike 4.0 International License].
[https://creativecommons.org/licenses/by-sa/4.0/ License CC-BY-SA 4.0]
29

edits