Skip to main content
Corvus Connection

On Tier Change

Patreon
Trigger
entry.onTierChangeFires when a patron entitled pledge amount changes. Binds the from/to tier, old/new cents, an isUpgrade flag, and currency so a flow can branch on the direction.Triggers on a Patreon tier change; binds displayName / fromTier / toTier / oldCents / newCents / isUpgrade / currency.
Monetization

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
displayName
Data
System.String
multiplexed
fromTier
Data
System.String
multiplexed
toTier
Data
System.String
multiplexed
oldCents
Data
System.Int32
multiplexed
newCents
Data
System.Int32
multiplexed
isUpgrade
Data
System.Boolean
multiplexed
currency
Data
System.String
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    displayName
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    fromTier
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    toTier
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed
  • Name
    oldCents
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    newCents
    Kind
    Data
    Type
    System.Int32
    Flags
    multiplexed
  • Name
    isUpgrade
    Kind
    Data
    Type
    System.Boolean
    Flags
    multiplexed
  • Name
    currency
    Kind
    Data
    Type
    System.String
    Flags
    multiplexed

Bindings

Name
Type
Description
displayName
System.String
The patron display name, or empty for an anonymous patron.
fromTier
System.String
The tier the patron moved from, or empty when unknown.
toTier
System.String
The tier the patron moved to, or empty when unknown.
oldCents
System.Int32
The prior entitled pledge amount in cents.
newCents
System.Int32
The new entitled pledge amount in cents.
isUpgrade
System.Boolean
True when the patron moved up to a higher pledge, false on a downgrade.
currency
System.String
The ISO currency code of the campaign.
  • Name
    displayName
    Type
    System.String
    Description
    The patron display name, or empty for an anonymous patron.
  • Name
    fromTier
    Type
    System.String
    Description
    The tier the patron moved from, or empty when unknown.
  • Name
    toTier
    Type
    System.String
    Description
    The tier the patron moved to, or empty when unknown.
  • Name
    oldCents
    Type
    System.Int32
    Description
    The prior entitled pledge amount in cents.
  • Name
    newCents
    Type
    System.Int32
    Description
    The new entitled pledge amount in cents.
  • Name
    isUpgrade
    Type
    System.Boolean
    Description
    True when the patron moved up to a higher pledge, false on a downgrade.
  • Name
    currency
    Type
    System.String
    Description
    The ISO currency code of the campaign.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnTierChange] Handle(ctx, TierChangeContext e)