Hi all,
I have some specific questions around Mailwizz Autoresponder behavior, with respect to integration with other software.
I have one list with several segments, based on custom fields. These are based on membership types, but for simplicity, lets call them segment 1, 2 and 3.
When a user is first subscribed to the list, they will be in segment 1. Depending on whether they upgrade their membership etc, we may want to update that user with the API, using the following code:
$response = $endpoint->createUpdate('listid', array(
'EMAIL' => $user->email,
'FNAME' => $user->name_f,
'LNAME' => $user->name_l,
'SEGMENT' => $segment,
));
The user is updated in Mailwizz, and they now belong to another segment within that list.
That was the easy bit! All working well.
I need to setup 3 different series of Autoresponders. Each series will only be sent to users in the segment corresponding to that autoresponder series. For example, Autoresponder series 1 will be sent to segment 1, Autoresponder series 2 to segment 2 etc.
I need each autoresponder in each series to fire after a specific time period after the user is assigned to that segment (NOT the list) - using the above API call (or another api call (like delete and re-create the user?).
If a user leaves a segment (for example, is moved from segment 1 to segment 2), then segment 1 should cease to send to that user.
Is this feasible?
My suspicion is that the autoresponder is triggered after the user is added to the list, and if they fit the segment that is set in the autoresponder, then the autoresponder will fire. By using the createUpdate API call, we're only updating them, so this will not reset the autoresponder timing. We need to delete and then re-add the subscriber with the new segment for this to work, which will reset the autoresponder timings for that customer. Correct?
UPDATE: I've implemented the above using:
$endpoint1->deleteByEmail('listid', $user->email);
And it is worked as desired. I am still unsure if updating the users segment will reset the autoresponders, and this would be good to know.
I have some specific questions around Mailwizz Autoresponder behavior, with respect to integration with other software.
I have one list with several segments, based on custom fields. These are based on membership types, but for simplicity, lets call them segment 1, 2 and 3.
When a user is first subscribed to the list, they will be in segment 1. Depending on whether they upgrade their membership etc, we may want to update that user with the API, using the following code:
$response = $endpoint->createUpdate('listid', array(
'EMAIL' => $user->email,
'FNAME' => $user->name_f,
'LNAME' => $user->name_l,
'SEGMENT' => $segment,
));
The user is updated in Mailwizz, and they now belong to another segment within that list.
That was the easy bit! All working well.
I need to setup 3 different series of Autoresponders. Each series will only be sent to users in the segment corresponding to that autoresponder series. For example, Autoresponder series 1 will be sent to segment 1, Autoresponder series 2 to segment 2 etc.
I need each autoresponder in each series to fire after a specific time period after the user is assigned to that segment (NOT the list) - using the above API call (or another api call (like delete and re-create the user?).
If a user leaves a segment (for example, is moved from segment 1 to segment 2), then segment 1 should cease to send to that user.
Is this feasible?
My suspicion is that the autoresponder is triggered after the user is added to the list, and if they fit the segment that is set in the autoresponder, then the autoresponder will fire. By using the createUpdate API call, we're only updating them, so this will not reset the autoresponder timing. We need to delete and then re-add the subscriber with the new segment for this to work, which will reset the autoresponder timings for that customer. Correct?
UPDATE: I've implemented the above using:
$endpoint1->deleteByEmail('listid', $user->email);
And it is worked as desired. I am still unsure if updating the users segment will reset the autoresponders, and this would be good to know.
Last edited: