Appends lines to a google spreadsheet from the start
1.6K
Add a row to a 'Google Sheets' spreadsheet.
An example workflow of using the container in a workflow on Direktiv.
id: store-excel
functions:
- id: store
image: vorteil/store:v2
description: "Stores who accessed into excel"
states:
- id: storeExcel
type: action
action:
function: store
input:
authentication:
type: "service_account"
"private_key": "PRIVATE KEY"
"client_email": "CLIENT_EMAIL"
"token_uri": "https://oauth2.googleapis.com/token"
spreadSheetID: "SPREADSHEET_ID"
range: "A1"
values:
- "These"
- "are"
- "individual"
- "columns"
- "!"
client_email and private_key fields for their respective matching fields.input:
authentication:
type: "service_account",
"private_key": "PRIVATE KEY"
"client_email": "CLIENT_EMAIL"
"token_uri": "https://oauth2.googleapis.com/token"
spreadSheetID: "SPREADSHEET_ID"
range: "A1"
values:
- "These"
- "are"
- "individual"
- "columns"
- "!"
Note: Replace SPREADSHEET_ID with the ID of whichever Google Sheets document should be targeted.
*Note: Providing 'debug' with the json struct will print everything about what the application is doing.
No output will be provided if successful
If an error was to happen during the container running the output is written back to direktiv as the following
{
"errorCode": "com.store.error",
"errorMsg": "Something went wrong"
}
Content type
Image
Digest
Size
4.1 MB
Last updated
about 5 years ago
docker pull vorteil/store