Expand my Community achievements bar.

Announcing the launch of new sub-community for Campaign Web UI to cater specifically to the needs of Campaign Web UI users!

Displaying API Response on Second Page in AMP Mailer After Form Submission

Avatar

Level 1

Hi everyone,

 

I'm working on an AMP mailer that allows customers to fill out a form. After they submit the form, I need to:

a) Collect the form data.
b) Call an external API using the collected parameters.
c) Display the API response calculated field on the next page.

 

My main challenge is how to display the API response on the second page of the AMP mailer after the customer submits the form. Could anyone guide me on implementing this functionality in AMP?

2 Replies

Avatar

Community Advisor

Hello @Vishwadeep 

 

Look at this example where data is refresh from a server call

 

Advanced server requests


     Manoj
     Find me on LinkedIn

Avatar

Level 1

Hi @_Manoj_Kumar_ ,

 

I'm using JSSP to consume form data and will make an external API call to retrieve the Calculated Amount and Total Amount as responses. However, the main challenge I'm encountering is how to pass these variables back as responses to AMP to display after the initial form submission.

 

Regards,

Vishwadeep