Writes a google message to a webhook URL.
An example workflow of using the container on Direktiv.
id: post-to-google
functions:
- id: post
image: vorteil/googlemsg:v2
description: "Send a message to a google chat"
states:
- id: postToGoogle
type: action
action:
function: post
input: jq(.)
The input needed to run the above workflow properly is the following:
input:
message: "This message will be posted to a google chat"
url: "GOOGLE_CHAT_WEBHOOK_URL"
If the action is successful, the google chat message should appear in the appropriate channel it was sent to.
In the case that an error is encountered, it will present in the following format:
{
"errorCode": "com.googlechat.error",
"errorMsg": "Something went wrong"
}
Content type
Image
Digest
Size
2.3 MB
Last updated
about 5 years ago
docker pull vorteil/googlemsg