🐛 Minor fixes

This commit is contained in:
Tanay Pant 2020-08-12 10:03:51 +02:00
parent 978e9ffcec
commit 5fa9700a38

View File

@ -21,7 +21,7 @@ You can find authentication information for this node [here](../../../credential
## Example Usage
This workflow shows you how to add and read from from a Google Sheets spreadsheet. You can also find the [workflow](https://n8n.io/workflows/600) on this website. This example usage workflow uses the following three nodes.
This workflow shows you how to add to and read from a Google Sheets spreadsheet. You can also find the [workflow](https://n8n.io/workflows/600) on this website. This example usage workflow uses the following three nodes.
- [Start](../../core-nodes/Start/README.md)
- [Set](../../core-nodes/Set/README.md)
- [Google Sheets]()
@ -34,17 +34,19 @@ The final workflow should look like the following image.
The Start node exists by default when you create a new workflow.
### 2. Set node
1. Click on the ***Add Value*** button and select 'Number' from the dropdown list.
2. Enter `Number` in the ***Name*** field.
2. Enter `id` in the ***Name*** field.
3. Click on the ***Add Value*** button and select 'String' from the dropdown list.
4. Enter `Text` in the ***Name*** field.
4. Enter `name` in the ***Name*** field.
5. Enter the value for the name in the ***Value*** field.
6. Click on ***Execute Node*** to run the node.
![Using the Set node to set data to be inserted by the Google Sheets node](./Set_node.png)
### 3. Google Sheets node (Append)
1. First of all, you'll have to enter credentials for the Google Sheets node. You can find out how to do that [here](../../../credentials/Google/README.md), in the section 'Google Drive / Sheets API'.
@ -52,11 +54,12 @@ The Start node exists by default when you create a new workflow.
3. Select 'Append' from the ***Operation*** dropdown list.
4. Copy the string of characters located between `/d/` and `/edit` in your spreadsheet URL. Paste that string in the ***Sheet ID*** field.
5. In the ***Range*** field, enter the range of columns to append the data to in your spreadsheet. Make sure that your range includes enough columns for all the data included in the Set node.
6. Enter `id` in cell A1 and `name` in cell B1 of the spreadsheet.
6. Enter `id` in the A1 cell and `name` in the B1 cell of the spreadsheet.
7. Click on ***Execute Node*** to run the workflow.
![Using the Google Sheets node to insert data into a Google Sheets spreadsheet](./GoogleSheets_node.png)
### 4. Google Sheets node (Read)
1. Select the credentials that you entered in the previous Google Sheets node.