Google Functions with YAML

YAML parameters for Google Functions

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
type
Required
StringThe type of the action. Should be set to GOOGLE_FUNCTIONS.
function_name
Required
StringThe name of the Google function.
integration_hash
Required
StringThe ID of the integration.
application_id
Required
StringThe id of the Google Cloud project.
payloadStringThe JSON that will be provided as input to the Google function.

YAML example for Google Functions

actions:
- action: "Invoke function hello-world"
type: "GOOGLE_FUNCTIONS"
integration_hash: "5ddb7c180fb38be67bd78a88a"
application_id: "prime-team-855"
function_name: "projects/tokyo-house-138923/locations/us-central1/functions/buddy-function"
payload: "{\r\n \"message\": \"$BUDDY_EXECUTION_COMMENT\"\r\n}"