34
edits
Lpierson002 (talk | contribs) (→Credits: adding link to AuTEAMation) |
Lpierson002 (talk | contribs) mNo edit summary |
||
| Line 56: | Line 56: | ||
For every Dolibarr node there will be some fields that will be the same. | For every Dolibarr node there will be some fields that will be the same. | ||
These fields are the first three one on the picture below : | These fields are the first three one on the picture below: | ||
*'''Credential to connect with''' | *'''Credential to connect with''': this is where you can set your '''credentials''' as explained just before, | ||
*'''Resource''' : this is where you choose which module of Dolibarr will be affected, there are 4 options : Calendar, Task, Document and Custom API Call (use this one only if you know what you are doing), | *'''Resource''': this is where you choose which module of Dolibarr will be affected, there are 4 options : Calendar, Task, Document and Custom API Call (use this one only if you know what you are doing), | ||
*'''Operation''' : this is in this field where you select the kind of operation you want to do on this specific resource, for now it only supports creation operation. | *'''Operation''': this is in this field where you select the kind of operation you want to do on this specific resource, for now it only supports creation operation. | ||
<br /> | <br /> | ||
| Line 71: | Line 71: | ||
If you have selected the '''Create an Event''' operation and have alreary set your credentials the first three fields will be already completed. | If you have selected the '''Create an Event''' operation and have alreary set your credentials the first three fields will be already completed. | ||
For the next fields : | For the next fields: | ||
*'''Event Name''' corresponds with the '''Label''' field in Dolibarr interface (this field is required), | *'''Event Name''' corresponds with the '''Label''' field in Dolibarr interface (this field is required), | ||
| Line 102: | Line 102: | ||
You can either type or drag and drop from the left window which field you want to have from the Google Calendar Event. | You can either type or drag and drop from the left window which field you want to have from the Google Calendar Event. | ||
Here : | Here: | ||
*<code>$json.summary</code> corresponds to the Google Caldendar Event Name, | *<code>$json.summary</code> corresponds to the Google Caldendar Event Name, | ||
| Line 127: | Line 127: | ||
You can either type or drag and drop from the '''INPUT''' window on the left which field you want to have from the received mail. | You can either type or drag and drop from the '''INPUT''' window on the left which field you want to have from the received mail. | ||
Here : | Here: | ||
*<code>$json.subject</code> corresponds to the subject of the mail, | *<code>$json.subject</code> corresponds to the subject of the mail, | ||
| Line 150: | Line 150: | ||
If you have selected '''Create a document''' and have alreary set your credentials the first two fields will be already completed. | If you have selected '''Create a document''' and have alreary set your credentials the first two fields will be already completed. | ||
For the next fields : | For the next fields: | ||
*'''File Name''' corresponds to the file name is Dolibarr, it is important not to forget the file extension if you want it to have one (this field is required), | *'''File Name''' corresponds to the file name is Dolibarr, it is important not to forget the file extension if you want it to have one (this field is required), | ||
| Line 178: | Line 178: | ||
You can either type or drag and drop from the '''INPUT''' window on the left which field you want to have from the received mail. | You can either type or drag and drop from the '''INPUT''' window on the left which field you want to have from the received mail. | ||
Here : | Here: | ||
*<code>$json.topic</code> corresponds to the topic of the Zoom meeting, | *<code>$json.topic</code> corresponds to the topic of the Zoom meeting, | ||
| Line 200: | Line 200: | ||
If you have selected '''Create a Task''' and have alreary set your credentials the first three fields will be already completed. | If you have selected '''Create a Task''' and have alreary set your credentials the first three fields will be already completed. | ||
For the next fields : | For the next fields: | ||
*'''Task Reference''' corresponds with the '''Ref.''' field in Dolibarr interface, the '''Task Reference''' is a '''string''' that must be unique, (this field is required), | *'''Task Reference''' corresponds with the '''Ref.''' field in Dolibarr interface, the '''Task Reference''' is a '''string''' that must be unique, (this field is required), | ||
| Line 216: | Line 216: | ||
To produce this use case you will have to connect a '''Github Trigger node''' on the '''Dolibarr node'''. | To produce this use case you will have to connect a '''Github Trigger node''' on the '''Dolibarr node'''. | ||
It is important here if you are using a self-hosted instance of n8n to start it in tunnel mode. To do so, just run the following command : <code>n8n start --tunnel</code>. | It is important here if you are using a self-hosted instance of n8n to start it in tunnel mode. To do so, just run the following command: <code>n8n start --tunnel</code>. | ||
To trigger on receiving issues select the type '''Issues''' in the '''Events''' field. | To trigger on receiving issues select the type '''Issues''' in the '''Events''' field. | ||
| Line 233: | Line 233: | ||
You can either type or drag and drop from the left window which field you want to have from the Github Issue. | You can either type or drag and drop from the left window which field you want to have from the Github Issue. | ||
Here : | Here: | ||
*<code>$json.body.repository.name</code> corresponds to the name of the Github repository, | *<code>$json.body.repository.name</code> corresponds to the name of the Github repository, | ||
edits