Google Docs¶
Node: googleDocs · Full type: n8n-nodes-base.googleDocs · Version: 2
Credentials¶
googleApi (alias: @google) / googleDocsOAuth2Api (alias: @google)
Operations¶
Resource: document¶
create¶
| Parameter | Type | Default | Details |
|---|---|---|---|
driveId |
options | "myDrive" | required |
folderId |
options | "" | required |
title |
string | "" | required |
get¶
| Parameter | Type | Default | Details |
|---|---|---|---|
documentURL |
string | "" | required |
simple |
boolean | true |
update¶
| Parameter | Type | Default | Details |
|---|---|---|---|
documentURL |
string | "" | required |
simple |
boolean | true | |
actionsUi |
fixedCollection | {...} | groups: actionFields |
updateFields |
fixedCollection | {} | groups: writeControlObject |
Common Parameters¶
| Parameter | Type | Default | Details |
|---|---|---|---|
authentication |
options | "serviceAccount" | serviceAccount, oAuth2 |
Parameter Details¶
actionsUi children:
actionFields group:
| Parameter | Type | Default | Details |
|---|---|---|---|
object |
options | "text" | footer, header, namedRange, pageBreak, paragraphBullets, positionedObject, table, tableColumn, ... (10 total) |
action |
options | "" | replaceAll, insert |
action |
options | "" | create, delete |
action |
options | "" | delete, insert |
action |
options | "" | insert |
action |
options | "" | delete |
insertSegment |
options | "body" | header, body, footer |
segmentId |
string | "" | |
index |
number | 0 | |
name |
string | "" | |
startIndex |
number | 0 | |
endIndex |
number | 0 | |
bulletPreset |
options | "BULLET_DISC_CIRCLE_SQUARE" | BULLET_DISC_CIRCLE_SQUARE, BULLET_CHECKBOX, NUMBERED_DECIMAL_NESTED |
footerId |
string | "" | |
headerId |
string | "" | |
namedRangeReference |
options | "namedRangeId" | namedRangeId, name |
value |
string | "" | |
value |
string | "" | |
objectId |
string | "" | |
insertSegment |
options | "body" | header, body, footer |
segmentId |
string | "" | |
locationChoice |
options | "endOfSegmentLocation" | endOfSegmentLocation, location |
index |
number | 1 | |
locationChoice |
options | "endOfSegmentLocation" | endOfSegmentLocation, location |
index |
number | 1 | |
rows |
number | 0 | |
columns |
number | 0 | |
locationChoice |
options | "endOfSegmentLocation" | endOfSegmentLocation, location |
index |
number | 1 | |
text |
string | "" | |
text |
string | "" | |
replaceText |
string | "" | |
matchCase |
boolean | false | |
insertSegment |
options | "body" | header, body, footer |
segmentId |
string | "" | |
startIndex |
number | 0 | |
endIndex |
number | 0 | |
insertPosition |
options | true | False, True |
index |
number | 1 | |
rowIndex |
number | 0 | |
columnIndex |
number | 0 |
updateFields children:
writeControlObject group:
| Parameter | Type | Default | Details |
|---|---|---|---|
control |
options | "requiredRevisionId" | targetRevisionId, requiredRevisionId |
value |
string | "" |