Commit Graph

117 Commits

Author SHA1 Message Date
46f888a30b Let transactional emails pass
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
ac65c138ee Set transactional email type when email is transactional
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
a3ebd0695b Introduce Order to Segment transformer
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
0d12c05fb9 Improve readability
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
ce6c9dfcdb Remove unnecessary check
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
9d9b3f58c4 Use WooCommerce helper to fetch order
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
d0659f638c Add order to subscriber transformer
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
e140dc6d4e Add WooCommerce integration and order status trigger backend
[MAILPOET-4935]
2023-03-30 12:21:25 +02:00
6012a139cb Improve name of counting method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
c68fc1378c Improve name of "run only once" meta
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
67f6b490bf Allow setting meta values in the templates
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
93cfffe295 Allow sending an email multiple times
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
fcf6e738c7 Interrupt automation run creation if a run already exists and only_once setting is set
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
e3e865eac5 Use plugin context to load list of segments
[PREMIUM-215]
2023-01-26 14:12:22 +01:00
03d7306611 Add check from automation flows with welcome emails
This commit improves the check that a user has set a welcome email campaign (a task in product discovery task list)
by checking also for automation flows that are triggered by new subscriber or user and contain
send email action.
[MAILPOET-4827]
2023-01-23 16:48:52 +01:00
9d55d3f134 Use "automation" instead of "workflow"
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
394f9abd67 Make sure, we have a fresh subscriber from the database
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
6ee45f0f54 Add method to retrieve subsccriber
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
74b12bd2d9 Change trigger to mailpoet_segment_subscribed
We should listen to mailpoet_segment_subscribed to start the trigger.
This means the subscriber is confirmed. And it removes the fatal error
which was produced by not finding the $segment during signup.

[MAILPOET-4772]
[MAILPOET-4773]
2022-11-07 04:41:47 -06:00
588f3a9feb Use "reply to" from settings only when they are different than "from" settings
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
af1e09f46f Remove "inactive" status for now, use "draft" instead
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
2f78c99381 Fix reply-to panel empty value handling
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
8fadc87036 Enable delay in minutes
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
8003a3e97f Do only trigger when segment is of type default
[MAILPOET-4771]
2022-11-05 07:40:43 +01:00
421549d6ee Make all automation strings in PHP translatable, improve context/comments
[MAILPOET-4611]
2022-10-31 10:03:45 +01:00
e2ede3e568 use withError to build error message
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
79c60ff7a1 Make step args that need to be set required
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a052cdcceb Allow custom validation for all step types
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
7425c73d9e Add error messages to action validation, use step validation args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
a2948efc46 Rename namespace with defs for 3rd-party integrations to "Integration"
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
caf3160060 Remove 'email_id' property
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
b657a1eee0 Account for email_id being 0
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
bd12d23a4f Delete newsletter entity
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
b7e80b60ab Disconnect empty emails before workflow loads
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
4ba1d3a5b5 segment_ids should not be a required argument
[MAILPOET-4689]
2022-10-03 11:22:34 +02:00
617f256e8d roles argument should not be required
[MAILPOET-4689]
2022-10-03 11:22:34 +02:00
64a8c3700c Fix loading of WpUserSegment
[MAILPOET-4690]
2022-09-30 15:28:03 +02:00
02aaba1ded Pass full step map to automation workflow so it can be validated
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
d911166637 Use new data structures in someone subscribes trigger & simplify it
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
5920810ac6 Use step args for triggers
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
3c651c940b Add convenience by-class getter for payloads (& use it)
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
fe3d719a13 Use step run args in existing actions
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
00e8c4f3e5 Make steps specify required/provided subject keys
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
b0aad2216a Split subscriber subject to Subject & Payload
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
18aedf3d1a Split segment subject to Subject & Payload
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
757f1dc01a Use subject data type for workflow runs, remove subject loading from storage
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
e1e5749eca Change isTriggeredBy signature for clarity
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
b914a1d2ec Rename SomeoneSubscribesTrigger key and class
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
c0e8a70f06 Turn no item selected to former 'any item' behavior
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00
bb5da626ba Add UserRegistrationTrigger
[MAILPOET-4587]
2022-09-21 10:38:17 +02:00