This is a simple customer survey example built with Lowdefy. With this example we demonstrate how simple it is to define a public webform and thank you page in Lowdefy.
This survey example is deployed using Netlify.
This example queries all employees with the "Sales person" role from a Google sheet on page initialization. This list of sales people names are used to populate a dropdown selector in the webform. The webform contains some conditional logic which demonstrates Lowdefy's ability to express advanced custom logic in simple readable app config. See the logic in action by writing a complaint about Dwight. Upon completion, the captured data is saved as a new entry to the Google sheet.
All this in less than 400 lines of YAML config. View the source in the lowdefy.yaml file in this repository.
- Clone this repository or copy the content of the
lowdefy.yaml
into alowdefy.yaml
file in your local folder. - Create a Google sheet and share the sheet with a GService API account, see the getting started tutorial or the Google sheets Lowdefy docs for an in depth guide on linking a Google sheet.
- Create
.env
file and set both theLOWDEFY_SECRET_SHEETS_CLIENT_EMAIL
andLOWDEFY_SECRET_SHEETS_PRIVATE_KEY
environment variables. (Make sure to never commit your secrets to your code repository.) - In the command console, navigate to your project folder and run the Lowdefy CLI:
npx lowdefy@latest dev
.
This simplest solution is to deploy this example to Netlify. See the Netlify Deployment instructions for more detail on how to deploy a Lowdefy app to Netlify.
- Getting started with Lowdefy - https://docs.lowdefy.com/tutorial-start
- Lowdefy docs - https://docs.lowdefy.com
- Lowdefy website - https://lowdefy.com
- Community forum - https://github.com/lowdefy/lowdefy/discussions
- Bug reports and feature requests - https://github.com/lowdefy/lowdefy/issues