Community Goal Contribution

Trigger for a Twitch Community Goal Contribution
PubSub

Variables

The following variables will be populated when this trigger executes:

Description
contributednumber

The amount that has been contributed to the goal so far

contributedFormattednumber

The amount that has been contributed to the goal so far as a formatted number

daysLeftnumber

The amount of days left for this community goal

Example: 3
durationDaysnumber

The total duration of this community goal in days

Example: 7
goalAmountnumber

The total amount required to complete the goal

goalAmountFormattednumber

The total amount required to complete the goal as a formatted number

percentCompletestring

The percentage that the goal has completed

Example: 73%
percentDecimalnumber

The percentage that the goal has completed as a decimal

Example: 0.73
titlestring

The name of the community goal

Example: My community goal
userContribFormattednumber

The amount that the user has contributed as a formatted number

userContributednumber

The amount that the user has contributed

userTotalContribFormattednumber

The formatted total amount the user has contributed

userTotalContributednumber

The total amount that the user has contributed