I've added a velo code automation with an event ticket purchase as the trigger. In the event options, guest are required to fill out one form per ticket.
It appears that the export const invoke = async ({payload}) => { // Your code here
}
is only called ONCE, but I need the form information for each ticket purchased.
Is there a way to get that from the payload? Or are there multiple payloads that I can access from a single call to invoke?
Thanks!
Eric
Thank you Eitan!
I'm very new to wix design and coding, and you're videos have helped me get ALL my custom coding complete - to include a custom members area and getting data to and from an Airtable!
Creating the events.js file and using the backend event was just what I needed.
Eric