{"id":6771,"date":"2024-03-11T03:44:03","date_gmt":"2024-03-11T02:44:03","guid":{"rendered":"https:\/\/help.expertsender.com\/emp\/workflow-events\/"},"modified":"2024-06-24T12:58:22","modified_gmt":"2024-06-24T11:58:22","slug":"workflow-events","status":"publish","type":"es","link":"https:\/\/help.expertsender.com\/pl\/emp\/workflow-events\/","title":{"rendered":"Workflow events"},"content":{"rendered":"<p>You can include the following events in each workflow:<\/p>\n<ul>\n<li><a title=\"\" href=\"#wf_start\">Start event<\/a><\/li>\n<li><a title=\"\" href=\"#wf_end\">End event<\/a><\/li>\n<li><a title=\"\" href=\"#wf_email\">Send email<\/a><\/li>\n<li><a title=\"\" href=\"#wf_sms\">Send SMS\/MMS<\/a><\/li>\n<li><a title=\"\" href=\"#wf_push\">Send Web Push<\/a><\/li>\n<li><a title=\"\" href=\"#wf_api\">API call<\/a><\/li>\n<li><a title=\"\" href=\"#wf_code\">Execute Code<\/a><\/li>\n<li><a title=\"\" href=\"#wf_delay\">Delay Event<\/a><\/li>\n<li><a title=\"\" href=\"#wf_data\">Set data<\/a><\/li>\n<li><a title=\"\" href=\"#wf_switch\">Data switch<\/a><\/li>\n<li><a title=\"\" href=\"#wf_winner\">Winner switch<\/a><\/li>\n<li><a title=\"\" href=\"#wf_distro\">Distribution switch<\/a><\/li>\n<li><a title=\"\" href=\"#wf_comment\">Comment<\/a><\/li>\n<\/ul>\n<div id=\"wf_start\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-dii fr-bordered\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940331633-workflows_start_event_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"start-event\">Start event<a href=\"#start-event\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>The <em>Start event<\/em> describes subscribers&#8217; entry conditions to each work\ufb02ow. It is a required element to activate each work\ufb02ow. There can be more than just one <em>Start event<\/em> in each work\ufb02ow, which allows to use the same marketing scenario for subscribers entering it due to different business reasons.<\/p>\n<p><em>Start event<\/em> settings allow to specify when and which subscribers will enter the work\ufb02ow, as well as how to identify and handle duplicate subscribers.<\/p>\n<div class=\"f-accordion-panel fr-inner\">\n<h2 id=\"how-to-configure-the-start-event\">How to configure the start event?<a href=\"#how-to-configure-the-start-event\" class=\"not-prose content-heading-link\">#<\/a><\/h2>\n<h4 id=\"types-of-the-start-event\">Types of the <em>Start event<\/em>:<a href=\"#types-of-the-start-event\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<ul style=\"margin-left: 20px;\">\n<li><strong>Opt-in<\/strong> \u2013 a subscriber enters the work\ufb02ow upon opting-in to a list<\/li>\n<li><strong>Open\u00a0<\/strong>\u2013 a subscriber enters the work\ufb02ow upon opening a message<\/li>\n<li><strong>Click\u00a0<\/strong>\u2013 a subscriber enters the work\ufb02ow upon clicking a link inside a message<\/li>\n<li><strong>Goal\u00a0<\/strong>\u2013 a subscriber enters the work\ufb02ow upon completing a goal tracked by the email platform<\/li>\n<li><strong>Scheduled\u00a0<\/strong>\u2013 the work\ufb02ow will commence for selected subscribers at a speci\ufb01ed time\/date or upon prede\ufb01ned recurring schedule<\/li>\n<li><strong>Custom event<\/strong> \u2013 a subscriber enters the work\ufb02ow upon an <a href=\"https:\/\/help.expertsender.com\/emp\/api\/methods\/trigger-workflow-custom-event\/\">API call triggering a prede\ufb01ned custom event<\/a>. Custom events must be prede\ufb01ned to appear on the selection list.<\/li>\n<\/ul>\n<h4 id=\"list\">List<a href=\"#list\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<p>Some types of start events require a subscriber list to be indicated. For example, the list is a required parameter for the <em>Opt-in start event<\/em> type. This, combined with the type of the start event, indicates which subscribers will enter the work\ufb02ow.<\/p>\n<h4 id=\"segment\">Segment<a href=\"#segment\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<p>As with regular message types, Work\ufb02ows can be initiated not only for subscribers pulled from speci\ufb01ed lists, but also for subscribers de\ufb01ned by lists and segments. Segments use demographic or behavioral restrictions to narrow or broaden the scope of subscribers. In order to use them in a work\ufb02ow, they need to be prede\ufb01ned in the <strong>Subscribers\u00a0<\/strong>&gt; <strong>Segments\u00a0<\/strong>section.<\/p>\n<h4 id=\"handling-duplicate-subscribers\">Handling duplicate subscribers<a href=\"#handling-duplicate-subscribers\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<p>In case the same subscriber matches the conditions to enter a work\ufb02ow, while still going through it due to a previous match, the user allows to determine how a duplicated subscriber should be handled.<\/p>\n<p>There are 3 options to choose from:<\/p>\n<ul>\n<li><strong>Create new instance<\/strong> \u2013 in this case the subscriber enters the work\ufb02ow again without affecting its earlier state in the cycle. The former instances proceed through the work\ufb02ow events, while another cycle starts for the subscriber upon meeting the entry criteria.<\/li>\n<li><strong>Ignore\u00a0<\/strong>\u2013 in this case the subscriber will NOT enter the work\ufb02ow again. The former instance proceeds through the work\ufb02ow events unaffected.<\/li>\n<li><strong>Move to start<\/strong> \u2013 in this case the subscriber enters the work\ufb02ow pipeline again, while his former instance gets reset.<\/li>\n<\/ul>\n<h4 id=\"data-%ef%ac%81eld-used-as-an-additional-duplicate-identi%ef%ac%81er\">Data \ufb01eld used as an additional duplicate identi\ufb01er<a href=\"#data-%ef%ac%81eld-used-as-an-additional-duplicate-identi%ef%ac%81er\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<p>By default, an email address is used as the unique identi\ufb01er of a subscriber within a work\ufb02ow. It is possible to add at least one data \ufb01eld as an additional identi\ufb01er in order to distinguish a duplicated subscriber.<\/p>\n<p>When additional data \ufb01elds are set, the subscriber with the same email address and values of all speci\ufb01ed data \ufb01elds is treated as duplicate according to the <em>Handling duplicate subscribers<\/em> settings.<\/p>\n<p>The only way to supply the value of data \ufb01elds is to start a work\ufb02ow using the <a href=\"https:\/\/help.expertsender.com\/emp\/api\/methods\/trigger-workflow-custom-event\/\">Custom event API call<\/a>.<\/p>\n<p>Data \ufb01elds must be prede\ufb01ned for each work\ufb02ow before they can be used within it. Click <strong>Manage data fields<\/strong>, and choose <strong>Add new record<\/strong> or <strong>Add multiple records\u00a0<\/strong>to add new data fields:<br \/>\n<img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-fil\" style=\"width: truepx;\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1547037286149-workflows_adding_data_field_EN.png\" \/><\/p>\n<\/div>\n<p data-empty=\"true\">\n<div id=\"wf_end\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940363047-workflows_end_event_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"end-event\">End event<a href=\"#end-event\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>This is a mandatory event that marks the end of the process for the subscribers that entered the work\ufb02ow. Once reached, it marks the work\ufb02ow as completed for a given subscriber and any data \ufb01elds that were associated with a subscriber are removed. It is possible to have multiple <em>End events<\/em> set up within a single work\ufb02ow, which is especially handy with more complex work\ufb02ows.<\/p>\n<div id=\"wf_email\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546941245700-workflows_send_email_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"send-email\">Send email<a href=\"#send-email\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>When a subscriber reaches this event in a work\ufb02ow, an email message is sent to that subscriber. The only setting of this event requires selecting a <a title=\"\" href=\"https:\/\/help.expertsender.com\/emp\/workflow-email-messages\/\">prede\ufb01ned email message<\/a>. To select an email message, it must not be in use within the same or other work\ufb02ows.<\/p>\n<p data-empty=\"true\">\n<div id=\"wf_sms\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dii fr-bordered\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940435126-workflows_send_sms_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"send-sms-mms\">Send SMS\/MMS<a href=\"#send-sms-mms\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>Send a predefined SMS or MMS message. Note that you may only use a message created as a workflow SMS\/MMS message, and, like with email messages, you cannot use the same message more than once.<\/p>\n<p data-empty=\"true\">\n<div id=\"wf_push\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dii fr-bordered\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1559313587315-workflow_events_web_push_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"send-web-push\">Send Web Push<a href=\"#send-web-push\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>Send a predefined Web Push notification. Note that you may only use a message created as a workflow Web Push message, and, like with email messages, you cannot use the same message more than once.<\/p>\n<div id=\"wf_api\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dii fr-bordered\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940485196-workflows_api_call_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"api-call\">API call<a href=\"#api-call\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>This event allows you to send an API call from within a workflow.<\/p>\n<div class=\"f-accordion-panel fr-inner\">\n<h2 id=\"how-to-set-up-an-api-call\">How to set up an API call?<a href=\"#how-to-set-up-an-api-call\" class=\"not-prose content-heading-link\">#<\/a><\/h2>\n<p><em>Note that this option was created to enable accessing <strong>foreign\u00a0<\/strong>APIs, rather than the\u00a0<\/em><a href=\"https:\/\/help.expertsender.com\/emp\/api\/\"><em>ExpertSender API<\/em><\/a><em>. If you need to send an ExpertSender API call from within the workflow, analyse what this call is expected to do and use another workflow event which achieves exactly that. In case of doubt, consult your Account Manager.\u00a0<\/em><\/p>\n<p>To configure an API call:<\/p>\n<ol>\n<li>Click on the API call icon on the workflow diagram. You will see the configuration window.<\/li>\n<li>Enter the <strong>Name\u00a0<\/strong>and <strong>Description\u00a0<\/strong>of the call.<\/li>\n<li>Within an API call, select the request type:\n<ul>\n<li>GET &#8211; to obtain data<\/li>\n<li>POST &#8211; to create new data<\/li>\n<li>PUT &#8211; to update data<\/li>\n<li>DELETE &#8211; to delete data<\/li>\n<\/ul>\n<\/li>\n<li>Enter the URL of the call (including query parameters, if relevant).<\/li>\n<li>Under <strong>Header\u00a0<\/strong>you may add HTTP headers.<\/li>\n<li>You may choose to save the response in a data field. Note that in order for a data field to be used within a workflow, it also needs to be created within this workflow. To create a workflow data field, click <strong>Manage data fields<\/strong>, and choose <strong>Add new record<\/strong> or <strong>Add multiple records<\/strong>.<br \/>\n<img decoding=\"async\" class=\"fr-fic fr-dib fr-bordered fr-fil\" style=\"width: truepx;\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1547037286149-workflows_adding_data_field_EN.png\" \/><\/li>\n<li>You may also check if the API call returns a desirable response for a given email address. Under the <strong>Test Call<\/strong> heading enter any email address which belongs to one of your lists and click the <strong>Test Call<\/strong> button.<\/li>\n<\/ol>\n<\/div>\n<div id=\"wf_code\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940518658-workflows_code_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"execute-code\">Execute Code<a href=\"#execute-code\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>This event allows to run a piece of Dynamic Content code.<\/p>\n<p data-empty=\"true\">\n<div id=\"wf_delay\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940583813-workflows_delay_event_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"delay-event\">Delay event<a href=\"#delay-event\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>The <em>Delay event<\/em> allows to temporarily prevent subscriber from advancing to the next event in the work\ufb02ow. There are three types of the <em>Delay event<\/em>:<\/p>\n<ul>\n<li><strong>Time-lapse<\/strong> &#8211; it halts the subscriber for the speci\ufb01ed amount of time (defined in minutes\/hours\/days\/weekdays\/weeks\/months)<\/li>\n<li><strong>Time-lapse with custom field<\/strong> &#8211; it halts the subscriber for a speci\ufb01ed amount of time that relates to a date\/time stored in the subscriber&#8217;s custom \ufb01eld (for instance, one week after the last login, or a month after the last purchase)<\/li>\n<li><strong>Specific date time<\/strong> &#8211; it halts the subscriber until the occurrence of a speci\ufb01ed date and\/or time<\/li>\n<\/ul>\n<p data-empty=\"true\">\n<div id=\"wf_data\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dii fr-bordered\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940602349-workflows_set_data_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"set-data\">Set data<a href=\"#set-data\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>It allows to set or change a value of a <a title=\"\" href=\"https:\/\/help.expertsender.com\/emp\/custom-fields\/\">custom \ufb01eld<\/a> of each subscriber reaching this event in the work\ufb02ow. Depending on the type of the custom field, there are following options:<\/p>\n<ul>\n<li><strong>Set to constant<\/strong> &#8211; sets the field to a constant value, such as a predefined text (for fields with the <em>Text\u00a0<\/em>type), number (for numeric fields) or True\/False (for fields of the <em>Boolean\u00a0<\/em>type)<\/li>\n<li><strong>Increase by constant<\/strong> &#8211; increases the field value by a constant, e.g. adds 1 to the number of orders placed by the subscribers (option available for numeric fields only)<\/li>\n<li><strong>Decrease by constant<\/strong> &#8211; decreases the field value by a constant, e.g. subtracts 1 from the number of orders the subscribers can have a discount on (option available for numeric fields only)<\/li>\n<li><strong>Set to data field value<\/strong> &#8211; sets the field to a value provided in an API call which triggers the event<\/li>\n<li><strong>Increase by data field value<\/strong> &#8211; increases the field value by a value provided in an API call which triggers the event (option available for numeric fields only)<\/li>\n<li><strong>Decrease by data field value<\/strong> &#8211; decreases the field value by a value provided in an API call which triggers the event (option available for numeric fields only)<\/li>\n<\/ul>\n<p data-empty=\"true\">\n<div id=\"wf_switch\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940623268-workflows_data_switch_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"data-switch\">Data switch<a href=\"#data-switch\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p><em>Data switch<\/em> allows you to divide the stream of subscribers in a workflow into several branches, based on subscriber data. The <em>Data switch<\/em> event allows to create between 2 and 10 branches, which are added or removed using the <strong>+<\/strong> and <strong>&#8211;<\/strong> buttons below the event on the workflow canvas. Each branch of the switch is assigned to one of the predefined <a title=\"\" href=\"https:\/\/help.expertsender.com\/emp\/segmentation\/\">segments<\/a> or <a title=\"\" href=\"https:\/\/help.expertsender.com\/emp\/managing-data-fields\/\">Data Fields<\/a>.<\/p>\n<div class=\"f-accordion-panel fr-inner\">\n<h2 id=\"how-are-subscribers-divided-into-branches\">How are subscribers divided into branches?<a href=\"#how-are-subscribers-divided-into-branches\" class=\"not-prose content-heading-link\">#<\/a><\/h2>\n<p>To get into a particular branch, the subscriber must fulfill the conditions of the corresponding segment. Since segments can intersect, the subscriber will fall into the first branch, to the segment of which he or she belongs. This means that the order of branches in the data switch matters.<\/p>\n<p><img decoding=\"async\" class=\"fr-fic fr-dib fr-fil fr-bordered\" style=\"width: truepx;\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1547122333954-workflow_events_data_switch_ex_EN.png\" \/><\/p>\n<p>In the example above, we divided our subscribers into three segments: those who clicked a life insurance offer, car insurance and home insurance. Of course, there may be subscribers who clicked two or all three insurance offers. However, our data switch establishes a hierarchy: each subscriber who clicked on life insurance falls into the first branch and is excluded from further analysis, even if he or she clicked car and home insurance.<\/p>\n<p>If the subscriber does not match any of the segments, it will go along the <em>Default\u00a0<\/em>branch. This assures that none of the subscribers will &#8220;get stuck&#8221; inside the switch.<\/p>\n<\/div>\n<div id=\"wf_winner\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940645135-workflows_winner_switch_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"winner-switch\">Winner switch<a href=\"#winner-switch\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>The winner switch is an option which performs a split test of a message. It sends two (or more) versions of a message to selected <em>test groups<\/em> of recipients in order to determine which of them is more effective (for example, which of them was opened more frequently). Then, the remaining subscribers receive the <em>winner\u00a0<\/em>variant of the message.<\/p>\n<div class=\"f-accordion-panel fr-inner\">\n<h2 id=\"how-to-configure-the-winner-switch-event\">How to configure the winner switch event?<a href=\"#how-to-configure-the-winner-switch-event\" class=\"not-prose content-heading-link\">#<\/a><\/h2>\n<p>To configure the winner switch event:<\/p>\n<ol>\n<li>Before you use the winner switch event, prepare between two and five versions of your message in the <a class=\"currently-active\" title=\"\" href=\"https:\/\/help.expertsender.com\/emp\/workflow-email-messages\/\">workflow message wizard<\/a>. They may differ in subject, content, styling, or anything you may want to test.<\/li>\n<li>Link the <strong>Winner switch<\/strong> event with the proper number of <strong>Send email<\/strong> events (<strong>Winner switch<\/strong> cannot be connected with an event of any other type).<\/li>\n<li>Click on each <strong>Send email<\/strong> event and select the right message variant for each.<img decoding=\"async\" class=\"fr-fic fr-dib fr-fil fr-bordered\" style=\"width: truepx;\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1547135138886-workflow_events_winner_switch_ex_EN.png\" \/><\/li>\n<li>Click the winner switch event to open the settings window. Under <em>Details\u00a0<\/em>you should now see your desired paths along with the corresponding message variants:<img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dib\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1547136366087-workflow_events_winner_switch_window_EN.png\" \/><\/li>\n<li>Under <em>Name\u00a0<\/em>you may add a custom name to the event.<\/li>\n<li>Under <em>Criteria\u00a0<\/em>determine the condition used for selecting the winner variant:\n<ul>\n<li><strong>Open rate<\/strong> \u2013 the variant which was opened most frequently is the winner<\/li>\n<li><strong>Click rate<\/strong> \u2013 the variant which generated the most clicks on embedded links is the winner<\/li>\n<li><strong>Goal rate<\/strong> \u2013 the variant which generated most conversions is the winner<\/li>\n<li><strong>Goal value summed amount<\/strong> \u2013 the variant which generated the biggest profit from conversions is the winner<\/li>\n<\/ul>\n<\/li>\n<li>Under <em>Schedule\u00a0<\/em>you may select the time <em>when\u00a0<\/em>the winner will be selected. Note that a workflow always works as long as there are subscribers who fall into the <em>Start\u00a0<\/em>event. This is why it is important to decide when the winner should be picked. There are following options available:\n<ul>\n<li><strong>Manual\u00a0<\/strong>\u2013 this option will allow the user to choose the winning message manually at a time considered appropriate by the user<\/li>\n<li><strong>One time<\/strong> \u2013 the decision about the winning message will take place at a prede\ufb01ned date\/time<\/li>\n<li><strong>Continuous<\/strong> \u2013 due to the on-going nature of work\ufb02ows it is possible to have the split-test working on a recurring basis. It allows to constantly test the current winning version (champion) with other split tested messages (contenders). In this mode some randomly selected subscribers (test group) always receive one of the contending split test email messages, while the majority continue to receive the last determined winner. If the results from any contending email message starts performing better than the current winner, it automatically replaces the winner. The winning message is determined once per day at midnight based on the activity ratio indicated in the settings of the <em>Winner switch<\/em> (opens, clicks, conversions, value of conversions). While making the decision the Winner switch considers data from the previous day (sends from the previous day and activities from the previous day). If there was no sends yesterday, then the decision will not be made.<\/li>\n<\/ul>\n<\/li>\n<li>Under <em>Test group segment<\/em> it is possible to select a specific segment as the test group for the Workflow split test. For example, the option could be used to perform the test only at the most active subscribers. This way, in a continuously performed split test the less active subscribers will be always getting the previously selected winner, while the most active subscribers will become members of the test group and will be randomly receiving the other messages that are being tested.<\/li>\n<li>The <em>Maximum number of subscribers<\/em> option allows de\ufb01ning the maximum size of the test group. Subscribers selected for the test group will receive one of the split tested versions to determine the winning version based on the selected metric (open rate, click rate, goal rate or goal value). For work\ufb02ows designed to process tens of thousands subscribers daily it makes sense to setup a relatively high maximum limit. On the other hand, work\ufb02ows designed to process lower traffic should have the size limit set relatively low, as otherwise determining the winner might take very long or in some scenarios might never be determined. Note that in the <em>Continuous\u00a0<\/em>mode of the <em>Winner switch<\/em> the test group is reset every day at midnight. Pausing or stopping an active work\ufb02ow also resets the test group as well as the last winner. In case there was no winner previously selected and the test group limit is reached, all of the exceeding subscribers preselected for the test group are put on hold until the winning version is selected.<\/li>\n<li>Use the slider under <em>Percentage of subscribers for test group<\/em> to set the ratio of subscribers who has just reached the Winner switch event who will be selected for the test group. When set to 100%, all subscribers are selected until the limit is reached or the winner is selected. With the slider set to 50%, half of the subscribers receive one of the split tested variants, while the other half receive the previously selected winning variant.<\/li>\n<\/ol>\n<\/div>\n<p data-empty=\"true\">\n<div id=\"wf_distro\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-bordered fr-dii\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940714707-workflows_distribution_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"distribution-switch\">Distribution switch<a href=\"#distribution-switch\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>The <em>Distribution switch<\/em> event is yet another feature that allows redirecting \ufb01xed proportions of the subscribers onto different prede\ufb01ned paths.<\/p>\n<p>It is possible to use the <em>Distribution switch<\/em> to divert subscribers into between 2 up to 10 directions. The number of directions is set using the <strong>+<\/strong> and <strong>\u2013<\/strong> icons under the <em>Distribution switch<\/em> event on the work\ufb02ow canvas:<br \/>\n<img decoding=\"async\" class=\"fr-fic fr-dib fr-fil fr-bordered\" style=\"width: truepx;\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1547473080526-workflow_events_distribution_switch_EN.png\" \/><\/p>\n<p>The settings of the <em>Distribution switch<\/em> event allow to set percentage of randomly selected subscribers to be distributed onto each path. Note that the <em>Distribution switch<\/em> will not work properly unless all the percentages add up to 100%.<\/p>\n<p data-empty=\"true\">\n<div id=\"wf_comment\" class=\"wf_header\"><img decoding=\"async\" class=\"fr-fic fr-fil fr-dii fr-bordered\" src=\"https:\/\/help.expertsender.com\/wp-content\/uploads\/2024\/03\/1546940742243-workflows_comment_EN.png\" \/><\/p>\n<h4 class=\"workflow_icon_caption\" class=\"workflow_icon_caption\" id=\"comment\">Comment<a href=\"#comment\" class=\"not-prose content-heading-link\">#<\/a><\/h4>\n<\/div>\n<p>This element does not in\ufb02uence the subscriber experience in any way. However, with the <em>Comment\u00a0<\/em>element it is possible to leave notes at the work\ufb02ow canvas that may be later useful in reminding some thought behind the \ufb02ow of the customer journey.<\/p>\n<p style=\"display: none;\">ready_for_proofreading<\/p>\n","protected":false},"author":5,"featured_media":9305,"parent":0,"menu_order":151,"template":"","format":"standard","emp-category":[129],"class_list":["post-6771","es","type-es","status-publish","format-standard","has-post-thumbnail","hentry","emp-category-workflows"],"acf":[],"_links":{"self":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/6771","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es"}],"about":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/types\/es"}],"author":[{"embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/users\/5"}],"version-history":[{"count":3,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/6771\/revisions"}],"predecessor-version":[{"id":10823,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/es\/6771\/revisions\/10823"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/media\/9305"}],"wp:attachment":[{"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/media?parent=6771"}],"wp:term":[{"taxonomy":"emp-category","embeddable":true,"href":"https:\/\/help.expertsender.com\/pl\/wp-json\/wp\/v2\/emp-category?post=6771"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}