// after the user submits or when you have the email const emailValue = /* get the email value from Framer form */; window.parent.postMessage( { type: 'framerForm', email: emailValue }, 'http://localhost:8000' // use the parent origin; in production use 'https://accounts.spotify.com' );