function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sandra WicketSandra Wicket 

Use Force.com sites for survey

Hi experts, 
i created a simple survey with the visual flow editor. I also created a Force.com site to make the flow accessible for guest users. The plan is, to create a nps for our customers.

The first part works fine. I can create custom object records on my website.  The more tricky part is to connect the record to the contact or account. I can create a text field on the survey screen to get the email adress or the company name but i am looking for a automated way. I am afraid that there is no solution to get the account id or contact id on the survey.  

Thanks for your help ! 
Sandra WicketSandra Wicket
Hi Hermant, 

thanks for your response. In that case i did not use any code. I just use the visual flow editor. 

Greetings 
Sarah