Open SyedYaseen opened 2 months ago
I want to understand what needs to go in the following items on the config? Are they supposed to be templates ids on brevo?
order: { placed: process.env.BREVO_ORDER_PLACED || null, canceled: process.env.BREVO_ORDER_CANCELED || null, shipment_created: process.env.BREVO_ORDER_SHIPMENT_CREATED || null, }, customer: { created: process.env.BREVO_CUSTOMER_CREATED || null, password_reset: process.env.BREVO_CUSTOMER_PASSWORD_RESET || null, }, user: { created: process.env.BREVO_USER_CREATED || null, password_reset: process.env.BREVO_USER_PASSWORD_RESET || null, }, auth: { password_reset: process.env.BREVO_AUTH_PASSWORD_RESET || null, verify_account: process.env.BREVO_AUTH_VERIFY_ACCOUNT || null, }, activity: { inactive_user: process.env.BREVO_ACTIVITY_INACTIVE_USER || null, inactive_customer: process.env.BREVO_ACTIVITY_INACTIVE_CUSTOMER || null, },
Yes it should be Brevo Template ID. For example in your env BREVO_ORDER_PLACED=123
BREVO_ORDER_PLACED=123
I want to understand what needs to go in the following items on the config? Are they supposed to be templates ids on brevo?
order: { placed: process.env.BREVO_ORDER_PLACED || null, canceled: process.env.BREVO_ORDER_CANCELED || null, shipment_created: process.env.BREVO_ORDER_SHIPMENT_CREATED || null, }, customer: { created: process.env.BREVO_CUSTOMER_CREATED || null, password_reset: process.env.BREVO_CUSTOMER_PASSWORD_RESET || null, }, user: { created: process.env.BREVO_USER_CREATED || null, password_reset: process.env.BREVO_USER_PASSWORD_RESET || null, }, auth: { password_reset: process.env.BREVO_AUTH_PASSWORD_RESET || null, verify_account: process.env.BREVO_AUTH_VERIFY_ACCOUNT || null, }, activity: { inactive_user: process.env.BREVO_ACTIVITY_INACTIVE_USER || null, inactive_customer: process.env.BREVO_ACTIVITY_INACTIVE_CUSTOMER || null, },