Commit Graph

56 Commits

Author SHA1 Message Date
Jan Jakes
f55c4f7755 Make next step ID nullable (ability to save multiple edges without next steps)
[MAILPOET-5586]
2023-10-23 17:09:16 +02:00
David Remer
6ef3435a80 Remove segment as a required subject
If a segment is given, the subscriber needs to be subscribed to it, otherwise
the subscriber only needs to be globally subscribed

[MAILPOET-5514]
2023-10-03 19:14:30 +02:00
Jan Jakes
eeb4d64e8b Pass step run controller to automation actions
[MAILPOET-5569]
2023-09-20 02:36:40 -07:00
David Remer
0cc02b38a5 Move abandoned cart into WooCommerce vendor space
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
06a704da75 Use Populator to add group and event to available options
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
0a57ca6a4d Use productIds in AbandonedCartPayload
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
d113ec9fdb Remove ProductsSubject
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
50827706fb Add product_ids for abandoned cart to email
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
David Remer
f91453b102 Set woocommerce and abandoned cart options
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
Jan Jakes
69f21814e3 Rename "transactional" email type to "automation_transactional"
[MAILPOET-5258]
2023-04-24 09:54:08 +03:00
David Remer
430c9b72f7 Exclude emails of wrong type
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
David Remer
0a8bcaf484 Do not allow to send emails to bounced subscribers
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
David Remer
343b91a980 Remove type specification 2023-04-17 13:59:39 +02:00
David Remer
46f888a30b Let transactional emails pass
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
David Remer
ac65c138ee Set transactional email type when email is transactional
[MAILPOET-4999]
2023-04-17 13:59:39 +02:00
David Remer
93cfffe295 Allow sending an email multiple times
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
Rostislav Wolny
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
Jan Jakes
588f3a9feb Use "reply to" from settings only when they are different than "from" settings
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
Jan Jakes
2f78c99381 Fix reply-to panel empty value handling
[MAILPOET-4757]
2022-11-07 11:17:36 +02:00
David Remer
e2ede3e568 use withError to build error message
[MAILPOET-4700]
2022-10-26 12:51:16 +02:00
Jan Jakes
79c60ff7a1 Make step args that need to be set required
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
7425c73d9e Add error messages to action validation, use step validation args
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
Jan Jakes
a2948efc46 Rename namespace with defs for 3rd-party integrations to "Integration"
[MAILPOET-4659]
2022-10-13 11:58:11 +02:00
David Remer
b657a1eee0 Account for email_id being 0
[MAILPOET-4520]
2022-10-11 11:14:58 +02:00
Jan Jakes
3c651c940b Add convenience by-class getter for payloads (& use it)
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
fe3d719a13 Use step run args in existing actions
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
00e8c4f3e5 Make steps specify required/provided subject keys
[MAILPOET-4629]
2022-09-23 12:42:03 +03:00
Jan Jakes
6e6d0e725a Set automation newsletters always as active
Their scheduling and validity will handled by the workflow engine so this should be OK.
We can also consider syncing the state based on the workflow state, somehow.

[PREMIUM-194]
2022-09-08 09:20:20 +02:00
David Remer
24849afb7a Make name a property of Step.args instead of Step
[MAILPOET-4445]
2022-08-17 16:01:45 +02:00
Jan Jakes
3886dd83d1 Unify naming of sender name and email address
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
697e7eba9a Add Google Analytics setting panel to automation email sidbar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
922beb790f Add reply-to setting panel to automation email sidebar
[MAILPOET-4446]
2022-08-15 16:05:12 +02:00
Jan Jakes
d1fddb85f7 Add before step save hook per step key to simplify usage
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
1f6ce667e5 Add schema definition for automation steps
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
4389d3ca5f Sync automation email step settings to newsletter entity
[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
4aa323b612 Extract data-carrying classes to dedicated namespace
We need a separation of "Step" as an interface vs. "Step" as a serializable data structure.

[MAILPOET-4515]
2022-08-08 13:23:57 +02:00
Jan Jakes
da43849c30 Use more descriptive method name
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
d447702941 Convert welcome email action to a generic send email action
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
578fa65122 Simplify fetching data from subjects
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
3cccc52515 Require subjects by class name to have them type checked and autocompleted
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
841ee97203 Add require subject helper method
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
Jan Jakes
494cc7b780 Allow multiple subjects of the same type
[MAILPOET-4465]
2022-07-12 13:36:58 +02:00
John Oleksowicz
f032bedffe Move private method after public methods
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
ff8a2926a8 Avoid unnecessary duplicate call
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
250dd441b4 Add step based validations
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
da144a3778 Include all possibilities for validation
Although not required at the moment, validation could certainly involve
the current step as well as the workflow itself.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
7ec1bcccc4 Alphabetize dependencies
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
78352d410d Keep subject entities private
[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
253a32413c Add exception messages
I'm leaving these strings untranslated for now because I'm not sure that
 we'll want all of them as-is, and I don't want to have our translators
 translate strings we might not even need.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00
John Oleksowicz
5227481a42 Revert to a simpler approach
Having separate objects for validation results is unnecessary and overly
 complicated at this point, and we should wait to introduce that kind of
  complexity only when/if it's clearly needed.

[MAILPOET-4191]
2022-04-18 09:10:23 +02:00