E-mails with the Flow Builder
The plugin ships triggers, mail templates and flows. In the Flow Builder you decide who gets an e-mail.

Offer created
- Trigger
devert_pdfexport.offer.created - The included flow is active and sends the PDF as an attachment to the address of the visitor.
- The mail template can use
offer(offerNumber,name,email,validUntil,address) andsalesChannel. - Without an e-mail address (offer without form) nothing is sent.
- The confirmation in the shop only mentions the e-mail if a flow for this trigger is active.
Notification about exports
There is a trigger for every export type: product page, category, cart and wishlist (devert_pdfexport.product.exported, …listing…, …cart…, …wishlist…).
- The four included flows (“mail to shop owner”) are inactive after a new installation. After an update a flow is active if the old option for mails to the shop owner was enabled.
- The recipient is the e-mail address of the shop from the basic information.
- The template type “PDF export” has two templates: with and without the PDF attached. Choose the one you need in the flow.
- The bot filter prevents mails caused by recognized crawlers.
- If a flow fails, the visitor still gets the PDF.