Contract upload — Google Drive
SETUP: add a “google-oauth2” credential in Admin → Credentials, then Test sends for real — the node is pre-wired with ${credential.…} references. Until then this demo saves and verifies but the send will report the missing credential. Uploads the signed contract PDF into the Contracts folder.
What’s inside
3 nodes — every type links to its full reference page.
| Step | Node | Type |
|---|---|---|
| Signed contract | Inject | input.inject |
| Upload to Drive | Google Drive | storage.google-drive |
| Filed | Console | utility.console |
Import it
- Studio → Import — paste the JSON below (or the URL
/docs/templates/contract-upload-google-drive.json). - Or ask the AI Copilot with the JSON pasted after the phrase:
import this workflow json into a new workflow named "Contract upload — Google Drive" - Any credentials the nodes need are
${credential.…}references — add them once in Admin → Credentials and the template picks them up. Nothing secret ships in a template.
The workflow document (flowdrome.workflow.v1, 3 node types)
{
"schemaVersion": "flowdrome.workflow.v1",
"id": "",
"name": "Contract upload — Google Drive",
"version": "0",
"status": "draft",
"nodes": [
{
"id": "seed",
"type": "input.inject",
"label": "Signed contract",
"category": "trigger",
"config": {
"contentType": "application/json",
"payload": {
"name": "contract-acme.txt",
"content": "signed contract body"
}
},
"position": {
"x": 0,
"y": 0
}
},
{
"id": "up",
"type": "storage.google-drive",
"label": "Upload to Drive",
"category": "io",
"config": {
"credentialId": "",
"accessToken": "${credential.google.accessToken}",
"operation": "upload",
"fileName": "{{ $json.name }}",
"contentMode": "text",
"contentField": "content",
"folderId": "",
"mimeType": "text/plain",
"fileId": "",
"query": "",
"limit": 10,
"baseUrl": "",
"timeoutMs": 15000
},
"position": {
"x": 530,
"y": 0
}
},
{
"id": "out",
"type": "utility.console",
"label": "Filed",
"category": "utility",
"config": {
"message": "uploaded {{ $json.name }}"
},
"position": {
"x": 1060,
"y": 0
}
}
],
"edges": [
{
"id": "e0",
"sourceNodeId": "seed",
"sourcePort": "output",
"targetNodeId": "up",
"targetPort": "input"
},
{
"id": "e1",
"sourceNodeId": "up",
"sourcePort": "output",
"targetNodeId": "out",
"targetPort": "input"
}
],
"triggers": [
{
"id": "t0",
"nodeId": "seed"
}
],
"meta": {
"snippets": [],
"source": "template-gallery",
"description": "SETUP: add a “google-oauth2” credential in Admin → Credentials, then Test sends for real — the node is pre-wired with ${credential.…} references. Until then this demo saves and verifies but the send will report the missing credential. Uploads the signed contract PDF into the Contracts folder."
}
} Generated from the verified demo corpus — this exact document seeds and runs on a fresh Flowdrome. Raw JSON: contract-upload-google-drive.json.