Is there a way to save a new entry with a template form, then pass the ID of that new entry along to the redirect location?
The use case is, I'm interacting with a scheduling service and want to pass along the new craft entry ID in a query string to their API. The service has a webhook that fires on successful scheduling (and provides an appointment ID).
Currently, I'm getting the user's email address returned from the API, then assuming that user's most recent section/entry in craft is the one I'm looking for. After that, I can unambiguously handle reschedules and cancellations by referencing the appointment ID.
The form has the following inputs
<input type="hidden" name="action" value="entries/saveEntry"> <input type="hidden" name="redirect" value="/schedule">
and I'd like the /schedule page to get a entryId passed into it