Skip to main content
Corvus Connection

On Goal End

TwitchTrigger
entry.onGoalEndFires when a creator goal ends. Binds whether it was achieved and its final and target amounts.Triggers when a creator goal ends.Requires the channel:read:goals scope.
EngagementLifecycle

Outputs

Name
Kind
Type
Flags
outExecexecNone
typeDataSystem.Stringmultiplexed
isAchievedDataSystem.Booleanmultiplexed
currentAmountDataSystem.Int32multiplexed
targetAmountDataSystem.Int32multiplexed
endedAtDataSystem.DateTimemultiplexed

Bindings

Name
Type
Description
typeSystem.StringThe goal type (e.g. follower, subscription, or bits).
isAchievedSystem.BooleanTrue when the goal was reached before it ended.
currentAmountSystem.Int32The goal's final amount.
targetAmountSystem.Int32The amount that would have completed the goal.
endedAtSystem.DateTimeWhen the goal ended (UTC).

Parameters

Name
Type
Required
Default
Choices
cooldownSecondsSystem.Int32no0None
perUserCooldownSecondsSystem.Int32no0None
debounceMsSystem.Int32no0None
dedupeKeySystem.Stringno""None
maxConcurrencySystem.Int32no0None

Lowers to C#

[OnGoalEnd] Handle(ctx, GoalContext e)