Commit Graph

96 Commits

Author SHA1 Message Date
44d869af70 Simplify automation run data factory 2023-07-31 09:44:56 +02:00
8bd03b7a10 Add method to delete an automation run
[MAILPOET-5405]
2023-07-31 09:44:56 +02:00
8d8fcf3164 Query log statistics for automation in a timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
d2fce2014a Query statistic how many runs in a timeframe are at which step
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
b80875d268 Enable querying statistics in a given timeframe
[MAILPOET-5091]
2023-07-18 13:03:16 +02:00
640fb61861 Use versions loader when an automation with a specific version is queried
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
5aaa7b2361 Query list of Automation with different versions
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
10f4d6c3c3 Query all versions of an Automation with create date
[MAILPOET-5433]
2023-07-14 21:50:59 +02:00
d3b63b4c0f Move MailPoet templates to MailPoet integration
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
25a0d56ed1 Move automation builder to engine
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
fd40a03682 Add abandoned cart campaign
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
c3be75cd07 Add abandoned cart reminder template
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
8612619f3f Add first-time buyers template
[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
b753a97ad6 Simplify automation template builder API
This will also allow us to add filters and other parameters.

[MAILPOET-5372]
2023-06-19 13:29:25 +02:00
8dc3f109dd Fix and simplify fetching automations with status filter
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
7444131021 Add subscriber automation fields
[MAILPOET-5172]
2023-05-17 12:36:05 +02:00
38ad5b75b6 Query Automations by trigger key
[MAILPOET-4934]
2023-05-15 08:19:19 +02:00
fa73c3bc26 Order subjects by automation_run_id and id
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
2187f4a2d0 Use DISTINCT in count method
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
b5eaf6d115 Rename hash method to getHash
[MAILPOET-4966]
2023-03-01 16:14:38 +01: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
cf6f4f204d Use array_values for filtered subjects
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
da5f5b0b90 Improve formatting
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
1db97d2301 Simplify getting run ids
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
936de6ec30 Prevent calling toArray() twice
[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
1b17c04301 Update templates to run only once
[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
9e016bfc07 Add hash to Subject
The hash gives us a new column in our table, which we can
use to query a specific combination of args and key more
efficient

[MAILPOET-4966]
2023-03-01 16:14:38 +01:00
c4faa53386 Store run subjects in extra table
[MAILPOET-4966]
2023-03-01 16:14:38 +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
1b9eb223b0 Load templates late
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
c46c61a923 Simplify and optimize automation stats
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
1136431551 Use $wpdb->prepare() for automation stats
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
957be23212 Improve query formatting
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
91a88b3e91 Rename alias "w" to "a"
[MAILPOET-4788]
2022-11-14 12:35:29 +02:00
9d55d3f134 Use "automation" instead of "workflow"
[MAILPOET-4793]
2022-11-14 12:14:35 +02:00
63cd326191 Update template descriptions
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
c239566e1e Add premium and coming-soon template stubs
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
4977b7ffa2 Add free templates
[MAILPOET-4745]
2022-11-09 15:24:50 +03:00
a2c5420d7f Save updated at timestamp in workflow runs
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
c6d3573652 Save next step ID to workflow runs
[MAILPOET-4787]
2022-11-08 22:55:57 +02:00
c0ce5944dc Use short table aliases
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
467f354eb1 Do not skip workflow trigger queries when trigger keys are empty
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
3f016b45f9 Don't escape table names when not needed
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
679f74e498 Unify query error checking
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
08b314e0b4 Unify table variable naming
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
cc5959805b Use "workflow_triggers" table instead of an inline JSON
[MAILPOET-4778]
2022-11-08 16:17:34 +02:00
9773408c8b Add getCountForWorkflow method to return how many runs exist for specific status
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00
098aebfaf9 Add truncate() method to WorkflowRunLogStorage
[MAILPOET-4731]
2022-10-25 12:46:07 +02:00