Create Flow
POSThttps://a.klaviyo.com/api/flows
Create a new flow using an encoded flow definition.
New objects within the flow definition, such as actions, will need to use a
temporary_id field for identification. These will be replaced with traditional id fields
after successful creation.
A successful request will return the new definition to you.
- Revision header
revision: 2025-01-15required- Scopes
flows:write- Rate limits
- Burst:
1/sSteady:15/mDaily:100/d
Query parameters
Request additional fields not included by default in the response. Supported values: 'definition'
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Show 2 fields
Show 2 fields
The name of the Flow
Show 4 fields
Corresponds to the object which triggers the flow. Only one trigger is supported.
Option 3:
MetricTriggerShow 1 field
Show 1 field
Show 4 fields
Option 4:
NumericRangeFilterOperators for numeric range filters.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Option 8:
RelativeDateOperatorBaseFilterOperators for relative date filters.
e.g. "in the last 10 days"
Units for relative date filters.
Enter a whole number. Until you do, the example request uses the example value.
Option 9:
RelativeAnniversaryDateFilterOperators for relative date filters.
e.g. "anniversary in the last 10 days"
Units for relative date filters.
Enter a whole number. Until you do, the example request uses the example value.
Option 10:
RelativeDateRangeFilterOperators for relative date range filters.
e.g. "between 10 and 20 days ago"
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Units for relative date filters.
Option 4:
ProfilePropertyDateTriggerSee FlowDateTrigger.UNIT_CHOICES in app and CountdownUnit in fender.
Enter a whole number. Until you do, the example request uses the example value.
aka RepeatTypes in app and RepeatType in fender.
Option 5:
PriceDropTriggerShow 1 field
Show 1 field
Show 4 fields
Option 1:
StringOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StringArrayOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
NumericOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
NumericRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
BooleanFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 12:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 13:
ListContainsOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 14:
ListLengthFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 15:
ExistenceOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Price Drop amount type.
Enter a whole number. Until you do, the example request uses the example value.
Currency type.
Option 6:
LowInventoryTriggerLow inventory product level.
Show 1 field
Show 1 field
Show 4 fields
Option 1:
StringOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StringArrayOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
NumericOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
NumericRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
BooleanFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 12:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 13:
ListContainsOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 14:
ListLengthFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 15:
ExistenceOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Filters for users entering the flow. These filters are used on every action in the flow.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 1:
StringOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StringArrayOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
NumericOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
BooleanFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 12:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 13:
ListContainsOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 14:
ListLengthFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 15:
ExistenceOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ProfileHasGroupMembershipConditionOption 1:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ProfilePostalCodeDistanceConditionUnits for profile postal code distance conditions.
Option 6:
ProfilePredictiveAnalyticsStringConditionDimension for string profile predictive analytics conditions.
Option 8:
ProfileMarketingConsentConditionOption 1:
HasEmailMarketingConsentOption 2:
HasEmailMarketingSubscribedOption 2:
StatusDateFilterOption 1:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
NoEmailMarketingConsentOption 1:
NoEmailMarketingOption 1:
BounceDateFilterOption 1:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ManualSuppressionDateFilterOption 1:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
IsSetExistenceFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
InvalidEmailDateFilterOption 1:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
IsSetExistenceFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
NoEmailMarketingNeverSubscribedOption 1:
BounceDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ManualSuppressionDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
InvalidEmailDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
NoEmailMarketingSubscribedOption 1:
BounceDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ManualSuppressionDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
InvalidEmailDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
HasSMSMarketingConsentShow 2 fields
Option 1:
StatusDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
FormMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ManualImportMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
ManualAddMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
InboundMessageMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
PreferencePageMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
SftpMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
ShopifyIntegrationMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
NoSMSMarketingConsentOption 1:
NoSMSMarketingOption 2:
NoSMSMarketingUnsubscribedOption 1:
StatusDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
FormMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ManualImportMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
ManualAddMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ManualRemoveMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
CheckoutMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
InboundMessageMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
PreferencePageMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
SftpMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 16:
ShopifyIntegrationMethodFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
NoSMSMarketingNeverSubscribed
Option 9:
FlowsProfileMetricConditionMeasurements for profile metrics.
Enter valid JSON. Until you do, the example request uses the example value.
Option 1:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Show 2 fields
Option 1:
StringOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StringArrayOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ExistenceOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ListLengthFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
BooleanFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
NumericOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
ProfileNotInFlowConditionOption 1:
AlltimeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
A list of actions that make up the flow. Actions are linked to each other by their ids.
Option 2:
ConditionalBranchActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 1 field
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ProfileHasGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ProfileNoGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
ProfileRegionConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ProfilePostalCodeDistanceConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
ProfilePredictiveAnalyticsStringConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
ProfilePredictiveAnalyticsNumericConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
ProfileMarketingConsentConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
FlowsProfileMetricConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
ProfileRandomSampleConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
SendEmailActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 2 fields
Show 15 fields
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ProfileHasGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ProfileNoGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
ProfileRegionConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ProfilePostalCodeDistanceConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
ProfilePredictiveAnalyticsStringConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
ProfilePredictiveAnalyticsNumericConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
ProfileMarketingConsentConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
FlowsProfileMetricConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
ProfileRandomSampleConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
ProfileHasNotReceivedEmailMessageConditionOption 1:
AlltimeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
InTheLastBaseRelativeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Flow action status.
Option 4:
SendPushNotificationActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 2 fields
Show 14 fields
The id of an ImageAsset. If provided, this will take precedence over a dynamic_image.
A dynamic image asset to include in the push notification.
See PushLinkAction in app.
This is not a flow action, but the literal action that should be taken when the push notification is tapped.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ProfileHasGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ProfileNoGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
ProfileRegionConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ProfilePostalCodeDistanceConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
ProfilePredictiveAnalyticsStringConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
ProfilePredictiveAnalyticsNumericConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
ProfileMarketingConsentConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
FlowsProfileMetricConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
ProfileRandomSampleConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
ProfileHasNotReceivedPushMessageConditionOption 1:
AlltimeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
InTheLastBaseRelativeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Flow action status.
Option 5:
SendSmsActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 2 fields
Show 16 fields
The id of an ImageAsset. If provided, this will take precedence over a dynamic_image.
A dynamic image asset to include in the SMS message.
Enter valid JSON. Until you do, the example request uses the example value.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
ProfileHasGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
ProfileNoGroupMembershipConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
ProfileRegionConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
ProfilePostalCodeDistanceConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
ProfilePredictiveAnalyticsStringConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
ProfilePredictiveAnalyticsNumericConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
ProfileMarketingConsentConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
FlowsProfileMetricConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
ProfileRandomSampleConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
ProfileHasNotReceivedSmsMessageConditionOption 1:
AlltimeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
InTheLastBaseRelativeDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Flow action status.
Option 6:
SendWebhookActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Option 7:
SendInternalAlertActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Option 8:
TimeDelayActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 6 fields
aka delay_units in app.
Enter a whole number. Until you do, the example request uses the example value.
Enter a whole number. Until you do, the example request uses the example value.
Option 9:
TriggerBranchActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 4 fields
Show 1 field
Show 1 field
Option 1:
MetricPropertyConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
CustomObjectPropertyConditionOption 1:
StringOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
StringArrayOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
NumericOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
NumericRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 5:
BooleanFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 6:
StaticDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 7:
StaticDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 8:
RelativeDateOperatorBaseFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 9:
RelativeAnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 10:
RelativeDateRangeFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 11:
CalendarDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 12:
AnniversaryDateFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 13:
ListContainsOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 14:
ListLengthFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 15:
ExistenceOperatorFilterEnter valid JSON. Until you do, the example request uses the example value.
Option 3:
PriceDropConditionEnter valid JSON. Until you do, the example request uses the example value.
Option 4:
LowInventoryConditionEnter valid JSON. Until you do, the example request uses the example value.
Trigger type.
Date trigger type.
Option 10:
UpdateProfileActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 2 fields
Flow action status.
Option 11:
TargetDateActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Option 12:
CountdownDelayActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Option 13:
AbTestActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Show 4 fields
Flow action status.
The status of the A/B test action experiment.
Option 1:
SendEmailActionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
SendSmsActionEnter valid JSON. Until you do, the example request uses the example value.
Show 7 fields
Option 1:
SendEmailActionEnter valid JSON. Until you do, the example request uses the example value.
Option 2:
SendSmsActionEnter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
The metric to use to determine the winner of the A/B test action.
Note that this is different from the metrics used as a flow trigger.
Option 14:
InternalServiceActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 15:
CodeActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 17:
BranchActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
Enter valid JSON. Until you do, the example request uses the example value.
Option 18:
ListUpdateActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Enter valid JSON. Until you do, the example request uses the example value.
The ID of the action that is the entry point of the flow.
Responses
201Success
Content type: application/vnd.api+json
Show 5 fields
Show 7 fields
Corresponds to the object which triggered the flow.
Show 4 fields
Corresponds to the object which triggers the flow. Only one trigger is supported.
Option 3:
MetricTriggerShow 1 field
Show 1 field
Show 4 fields
Option 4:
ProfilePropertyDateTriggerSee FlowDateTrigger.UNIT_CHOICES in app and CountdownUnit in fender.
aka RepeatTypes in app and RepeatType in fender.
Option 5:
PriceDropTriggerShow 1 field
Show 1 field
Show 4 fields
Option 1:
StringOperatorFilterOption 2:
StringArrayOperatorFilterOption 3:
NumericOperatorFilterOption 4:
NumericRangeFilterOption 5:
BooleanFilterOption 6:
StaticDateFilterOption 7:
StaticDateRangeFilterOption 8:
RelativeDateOperatorBaseFilterOption 9:
RelativeAnniversaryDateFilterOption 10:
RelativeDateRangeFilterOption 11:
CalendarDateFilterOption 12:
AnniversaryDateFilterOption 13:
ListContainsOperatorFilterOption 14:
ListLengthFilterOption 15:
ExistenceOperatorFilter
Price Drop amount type.
Currency type.
Option 6:
LowInventoryTriggerLow inventory product level.
Show 1 field
Show 1 field
Show 4 fields
Option 1:
StringOperatorFilterOption 2:
StringArrayOperatorFilterOption 3:
NumericOperatorFilterOption 4:
NumericRangeFilterOption 5:
BooleanFilterOption 6:
StaticDateFilterOption 7:
StaticDateRangeFilterOption 8:
RelativeDateOperatorBaseFilterOption 9:
RelativeAnniversaryDateFilterOption 10:
RelativeDateRangeFilterOption 11:
CalendarDateFilterOption 12:
AnniversaryDateFilterOption 13:
ListContainsOperatorFilterOption 14:
ListLengthFilterOption 15:
ExistenceOperatorFilter
Filters for users entering the flow. These filters are used on every action in the flow.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 1:
StringOperatorFilterOption 2:
StringArrayOperatorFilterOption 4:
NumericOperatorFilterOption 5:
BooleanFilterOption 6:
StaticDateFilterOption 7:
StaticDateRangeFilterOption 8:
RelativeDateOperatorBaseFilterOption 9:
RelativeAnniversaryDateFilterOption 10:
RelativeDateRangeFilterOption 11:
CalendarDateFilterOption 12:
AnniversaryDateFilterOption 13:
ListContainsOperatorFilterOption 14:
ListLengthFilterOption 15:
ExistenceOperatorFilter
Option 5:
ProfilePostalCodeDistanceConditionUnits for profile postal code distance conditions.
Option 6:
ProfilePredictiveAnalyticsStringConditionDimension for string profile predictive analytics conditions.
Option 8:
ProfileMarketingConsentConditionOption 1:
HasEmailMarketingConsentOption 2:
HasEmailMarketingSubscribed
Option 2:
NoEmailMarketingConsentOption 1:
NoEmailMarketingOption 1:
BounceDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilter
Option 2:
ManualSuppressionDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilterOption 8:
IsSetExistenceFilter
Option 3:
InvalidEmailDateFilterOption 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilterOption 6:
CalendarDateFilterOption 7:
AnniversaryDateFilterOption 8:
IsSetExistenceFilter
Option 3:
HasSMSMarketingConsentShow 2 fields
Option 1:
StatusDateFilterOption 2:
FormMethodFilterOption 3:
ManualImportMethodFilterOption 4:
ManualAddMethodFilterOption 6:
InboundMessageMethodFilterOption 7:
PreferencePageMethodFilterOption 8:
SftpMethodFilterOption 9:
ShopifyIntegrationMethodFilter
Option 4:
NoSMSMarketingConsentOption 1:
NoSMSMarketingOption 2:
NoSMSMarketingUnsubscribedOption 1:
StatusDateFilterOption 2:
FormMethodFilterOption 3:
ManualImportMethodFilterOption 4:
ManualAddMethodFilterOption 5:
ManualRemoveMethodFilterOption 7:
CheckoutMethodFilterOption 8:
InboundMessageMethodFilterOption 9:
PreferencePageMethodFilterOption 10:
SftpMethodFilterOption 16:
ShopifyIntegrationMethodFilter
Option 3:
NoSMSMarketingNeverSubscribed
Option 9:
FlowsProfileMetricConditionMeasurements for profile metrics.
Option 1:
StaticDateFilterOption 2:
StaticDateRangeFilterOption 3:
RelativeDateOperatorBaseFilterOption 4:
RelativeAnniversaryDateFilterOption 5:
RelativeDateRangeFilter
Show 2 fields
Option 1:
StringOperatorFilterOption 2:
StringArrayOperatorFilterOption 3:
ExistenceOperatorFilterOption 5:
ListLengthFilterOption 7:
BooleanFilterOption 8:
NumericOperatorFilter
A list of actions that make up the flow. Actions are linked to each other by their ids.
Option 2:
ConditionalBranchActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 1 field
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsStringConditionOption 7:
ProfilePredictiveAnalyticsNumericConditionOption 8:
ProfileMarketingConsentConditionOption 9:
FlowsProfileMetricConditionOption 10:
ProfileRandomSampleCondition
Option 3:
SendEmailActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 2 fields
Show 15 fields
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsStringConditionOption 7:
ProfilePredictiveAnalyticsNumericConditionOption 8:
ProfileMarketingConsentConditionOption 9:
FlowsProfileMetricConditionOption 10:
ProfileRandomSampleCondition
Flow action status.
Option 4:
SendPushNotificationActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 2 fields
Show 14 fields
The id of an ImageAsset. If provided, this will take precedence over a dynamic_image.
A dynamic image asset to include in the push notification.
See PushLinkAction in app.
This is not a flow action, but the literal action that should be taken when the push notification is tapped.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsStringConditionOption 7:
ProfilePredictiveAnalyticsNumericConditionOption 8:
ProfileMarketingConsentConditionOption 9:
FlowsProfileMetricConditionOption 10:
ProfileRandomSampleCondition
Flow action status.
Option 5:
SendSmsActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 2 fields
Show 16 fields
The id of an ImageAsset. If provided, this will take precedence over a dynamic_image.
A dynamic image asset to include in the SMS message.
Show 1 field
Show 1 field
Option 1:
ProfilePropertyConditionOption 2:
ProfileHasGroupMembershipConditionOption 3:
ProfileNoGroupMembershipConditionOption 4:
ProfileRegionConditionOption 5:
ProfilePostalCodeDistanceConditionOption 6:
ProfilePredictiveAnalyticsStringConditionOption 7:
ProfilePredictiveAnalyticsNumericConditionOption 8:
ProfileMarketingConsentConditionOption 9:
FlowsProfileMetricConditionOption 10:
ProfileRandomSampleCondition
Flow action status.
Option 6:
SendWebhookActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Option 7:
SendInternalAlertActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Option 8:
TimeDelayActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Option 9:
TriggerBranchActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 4 fields
Show 1 field
Show 1 field
Option 1:
MetricPropertyConditionOption 2:
CustomObjectPropertyConditionOption 1:
StringOperatorFilterOption 2:
StringArrayOperatorFilterOption 3:
NumericOperatorFilterOption 4:
NumericRangeFilterOption 5:
BooleanFilterOption 6:
StaticDateFilterOption 7:
StaticDateRangeFilterOption 8:
RelativeDateOperatorBaseFilterOption 9:
RelativeAnniversaryDateFilterOption 10:
RelativeDateRangeFilterOption 11:
CalendarDateFilterOption 12:
AnniversaryDateFilterOption 13:
ListContainsOperatorFilterOption 14:
ListLengthFilterOption 15:
ExistenceOperatorFilter
Option 3:
PriceDropConditionOption 4:
LowInventoryCondition
Trigger type.
Date trigger type.
Option 10:
UpdateProfileActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 2 fields
Flow action status.
Option 11:
TargetDateActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Option 12:
CountdownDelayActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Option 13:
AbTestActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
Show 4 fields
Flow action status.
The status of the A/B test action experiment.
Option 1:
SendEmailActionOption 2:
SendSmsAction
Show 7 fields
Option 1:
SendEmailActionOption 2:
SendSmsAction
The metric to use to determine the winner of the A/B test action.
Note that this is different from the metrics used as a flow trigger.
Option 18:
ListUpdateActionThe real ID of an action.
A temporary ID to use only during a create operation. Existing actions should use the id field.
The ID of the action that is the entry point of the flow.
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json