The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Google Docs",
"settings": {
"executionOrder": "v1",
"availableInMCP": true
},
"nodes": [
{
"id": "webhook-docs",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
250,
300
],
"parameters": {
"httpMethod": "POST",
"path": "docs",
"responseMode": "lastNode",
"options": {}
}
},
{
"id": "create-doc",
"name": "Create Google Doc",
"type": "n8n-nodes-base.googleDrive",
"typeVersion": 3,
"position": [
500,
300
],
"credentials": {
"googleDriveOAuth2Api": {
"name": "<your credential>"
}
},
"parameters": {
"resource": "file",
"operation": "createFromText",
"name": "={{ $json.body.title || 'Untitled' }}",
"content": "={{ $json.body.content || '' }}",
"driveId": {
"__rl": true,
"mode": "list",
"value": "My Drive"
},
"folderId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.body.folderId || 'root' }}"
},
"options": {
"convertToGoogleDocument": true
}
}
},
{
"id": "format-response",
"name": "Response",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
750,
300
],
"parameters": {
"jsCode": "const item = $input.first().json;\nreturn [{ json: {\n ok: true,\n docId: item.id,\n docUrl: 'https://docs.google.com/document/d/' + item.id + '/edit',\n name: item.name\n} }];"
}
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Create Google Doc",
"type": "main",
"index": 0
}
]
]
},
"Create Google Doc": {
"main": [
[
{
"node": "Response",
"type": "main",
"index": 0
}
]
]
}
},
"id": "b0ca6220ea5140b7"
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googleDriveOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Google Docs. Uses googleDrive. Webhook trigger; 3 nodes.
Source: https://github.com/Phoenixrr2113/edith/blob/a7e4ac92fa5406d96973854f6790989ce6864207/n8n/docs-workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Tool: Create Google Doc. Uses googleDrive. Webhook trigger; 3 nodes.
A production-ready authentication workflow implementing secure user registration, login, token verification, and refresh token mechanisms. Perfect for adding authentication to any application without
Portfolio Orchestrator. Uses httpRequest. Webhook trigger; 59 nodes.
This n8n template demonstrates how a simple Multi-Layer Perceptron (MLP) neural network can predict housing prices. The prediction is based on four key features, processed through a three-layer model.
github code Try yourself