Foreach Loops
Goals
Loop
[[[foreach:goals as goal]]] [[[goal.id]]] [[[endforeach]]]
a channel goal.
Fields available on each iteration item
Inside the loop body, reference any of these fields as [[[alias.field]]], where alias is the name you picked after as. Missing fields render as an empty string.
id— stable goal idbroadcaster_id,broadcaster_login,broadcaster_name— your channeltype— one offollower,subscription,subscription_count,new_subscription,new_subscription_countdescription— the free-text label you set on Twitchcurrent_amount— progress toward the goaltarget_amount— goal targetcreated_at— ISO-8601 timestamp of when the goal was created