I have a screen flow on an Experience Cloud site.
I have a button on the account object that will email a link to that site, so that the form can be filled out. Some of the data needs to be pre-populated with the account data.
I need to pass the account id from the account to the flow on the site.
What's the best way to accomplish this?
Assuming the flow is on an unauthenticated Experience Cloud page (public facing), I would absolutely not do this at all. Screen flows should only be put on public facing pages if they cannot access PII or the database at all. This limits you to providing a blank form that creates one record, cannot access any other data, and the guest user doesn't have any access to anything except the fields on custom object being created and to create only. It's not an ideal solution for forms. Unauthenticated pages are meant for public information only.