Key takeaways
This module shows how to deploy and test a Node.js endpoint that generates a personalized PDF and sends it by email, integrating SendGrid with Journey Optimizer and Experience Manager Forms. It explains configuring the required environment variables, running the provided server.js application, and referencing the endpoint from a Journey Optimizer custom action so personalized communications are triggered by form submissions in Experience Platform.
You should now understand how to:
- Step 1: configure SENDGRID_API_KEY, SENDGRID_FROM, and AEM_BEARER environment variables to authenticate SendGrid and Experience Manager Forms requests and enable email and PDF generation.
- Step 2: deploy and run the provided server.js as the Node.js application entry point to expose the HTTP endpoint that Journey Optimizer will invoke.
- Step 3: connect the exposed endpoint to a Journey Optimizer custom action so journey triggers can request personalized communications and PDF renditions from Experience Manager Forms.
- Step 4: validate end-to-end delivery by submitting an adaptive form to create a new profile in Experience Platform, trigger the Journey Optimizer journey, and confirm receipt of the personalized PDF via email.
Now it's time to measure how well you learned these lessons with a short quiz.