scenarios/features/sesv2_weekly_mailer/content/40_sample_files.md
Based on the specification, the following sample files are needed for this workflow:
welcome.html - This file should contain the HTML content for the welcome email sent to new subscribers.
coupon-newsletter.html - This file should contain the HTML template for the weekly coupon newsletter email.
coupon-newsletter.txt - This file should contain the plain text version of the weekly coupon newsletter email.
sample_coupons.json - This file should contain a JSON array representing the coupon items to be included in the newsletter email. The JSON structure should be as follows:
{
"coupons": [
{
"details": "20% off on all electronics"
},
{
"details": "Buy one, get one free on books"
},
{
"details": "15% off on home appliances"
},
{
"details": "Free shipping on orders over $50"
},
{
"details": "25% off on outdoor gear"
},
{
"details": "10% off on groceries"
}
]
}
The workflow implementation will read the contents of these files at runtime and use them for the respective steps.