diff --git a/flows/actions/send_wpp_message.go b/flows/actions/send_wpp_message.go index 9f77e0229..9052c4dee 100644 --- a/flows/actions/send_wpp_message.go +++ b/flows/actions/send_wpp_message.go @@ -138,6 +138,7 @@ func (a *SendWppMsgAction) Execute(run flows.FlowRun, step flows.Step, logModifi FlowData: evaluatedFlowData, FlowScreen: evaluatedFlowScreen, FlowCTA: evaluatedButtonText, + FlowMode: a.FlowMode, } } diff --git a/flows/msg_wpp.go b/flows/msg_wpp.go index 62ad16b1c..93e000a1c 100644 --- a/flows/msg_wpp.go +++ b/flows/msg_wpp.go @@ -41,6 +41,7 @@ type FlowMessage struct { FlowData FlowData `json:"flow_data,omitempty"` FlowScreen string `json:"flow_screen,omitempty"` FlowCTA string `json:"flow_cta,omitempty"` + FlowMode string `json:"flow_mode,omitempty"` } type ListItems struct {