Get Rows data in Webhook & API
A Row is a response item created on a form, either being submitted by a user through a form interface, imported by excel, or added by a script through the API. Each row contains a different set of data, either entered by the user, calculated by the user entered data, or some metadata. Here is the list of all data inside a row: Note The data sent to the webhooks does not contain all of these. We will explain it in the following topic. form: Slug of the form to which the row bSome readersGetting your API keys and starting to work with them
Formaloo will grant you your own API key token and secrets to either write your own APIs with them or use them on any available SDK written on Formaloo. In order to write your own custom API, you will need to follow these steps: Obtain your API Key and Secret Key from Formaloo. Use the Secret Key to obtain the expirable Authorization Tokens. Use the API Key and Authorization Token to call your desired API. We will describe each step with examSome readersHow to query Formaloo using GraphQL
GraphQL is a query language for your API. It’s a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API. It gives clients the power to ask for exactly what they need and nothing more, makes it easier to evolve APIs over time, and enables powerful developer tools. https://graphql.org/ What are Queries and Mutations? We use queries to fetch data. WSome readersDynamic Fetch Choice Field (For Developers - Beta)
This field read the list of its choices from a remote source (i.e. remote API endpoint) rather than reading it from our own database. Imagine if a customer has a dynamic list of products in their own service, and wants to select them in a form. Instead of having to add their products into our database, they can simply add a fetch choice field that automatically connects to their API to retrieve the items. The Endpoint Read this document to know the specifications about the choice items enFew readersHow to send the total score (grade) to a webhook?
In your webhook responses, there's a field called "calculationscore" that you can get this in it.Few readersWebhook Readable Data
The readable data is the simplest digested form of the submitted data. It is simply a map from each field’s title to the submitted value. You can use it to see and handle the submitted data without the need for any logic. For example, if you simply want to put the data into a spreadsheet using your webhooks. The data inside the readable data is derived from the rendered data, only much simpler for simpler uses. Note: Since the data is sent inside a mapping, its ordering is not guaranteed. IFew readersHow to use Formaloo API Keys in Formaloo API
Formaloo will grant you your own API key token and secrets to either write your own APIs with them or use them on any available SDK written on Formaloo. In order to write your own custom API, you will need to follow these steps: Obtain your API Key and Secret Key from Formaloo. Use the Secret Key to obtain the expirable Authorization Tokens. Use the API Key and Authorization Token to call your desired API. We will describe each step with examFew readersHow to use Formaloo SDK
Formaloo SDK is a Python-based SDK to be used in the development of apps and scripts based on the power of Formaloo’s features. The primary purpose of the SDK is to provide an easy-to-use Python environment enabling developers to authenticate a user and use APIs of the Formaloo Customer Data Platform (CDP) and Formaloo database builder. What can Formaloo Platform for me and my business? Formaloo is the next generation of data analytics. With Formaloo you can use your own data to analyze yoFew readersSample codes for using Formaloo API and SDK
Check out the Formaloo Github page to see sample codes for using Formaloo API and SDK for your use case. You're more than welcome to contribute to the projects and fork them!Few readersGetting Started:
Getting Started: You can fork this repository and use it in your Android IDE, for example Android Studio: https://github.com/formaloo/formaloo-android-appui This is an open-source project to display how you can create your own custom AppUI application within a few minutes. I have already created an AppUI click to see Sample AppUi on your browser. (https://storage.crisp.chat/users/helpdesk/Few readersWhich endpoint would I use to post a new record by API?
You can use this endpoint to submit the form: https://docs.formaloo.net//operations/formDisplaysSlugSubmitCreate In order to submit a form, you should send the fields and their values in the body. For example: " field1slug ": "Some Text", // Text field " field2slug ": 20, // Number field " field3slug ": " selectedchoiceslug ", // Choice field " field4slug ": " selectedchoice1slug ", " selectedchoice2slug " // Multiple select fieldFew readersEndpoint Specifications for Fetch Choice Field (Beta)
The fetch choice field will use an endpoint provided by the form owner to show a list of choices to the user while submitting a form. This helps you to handle your choices without having to add them to a normal choice field. This is especially handy when the number of your choices is too large, or it is too dynamic (e.g. generated based on some dynamic data in your own service). In order to use this service, you should create a simple endpoint that returns a list of choices in proper format (whFew readersAPI endpoint specifications for fetch choice field
The fetch choice field will use an endpoint provided by the form owner to show a list of choices to the user while submitting a form. This helps you to handle your choices without having to add them to a normal choice field. This is especially handy when the number of your choices is too large, or it is too dynamic (e.g. generated based on some dynamic data in your own service). In order to use this service, you should create a simple endpoint that returns a list of choices in proper format (wFew readers