pub struct WorkflowEventTriggerPayload {
pub type_name: Option<String>,
pub event_pattern_id: Option<String>,
pub event_name: Option<String>,
pub re_eligible: Option<bool>,
}Expand description
Updates an event trigger, or changes an existing trigger node to an event trigger. Assign the event pattern with either eventPatternId or eventName, not both. Set either field to null to clear the event-pattern relationship.
Fields§
§type_name: Option<String>§event_pattern_id: Option<String>The ID of the event pattern to trigger on. Use either eventPatternId or eventName, not both. Set to null to clear the event-pattern relationship.
event_name: Option<String>The name of the event pattern to trigger on. Use this when you know the event name but not the internal event pattern ID. Use either eventName or eventPatternId, not both. Set to null to clear the event-pattern relationship.
re_eligible: Option<bool>If true, the contacts will be able to enter this workflow every time the trigger is matched. If false, contacts will only ever enter this workflow once. Matches the “Trigger frequency” option in the UI.