Sending AI data to Blippa using the Form Rest API

, ,

There are several ways to get data into Blippa.

One useful way is to use the Swiss army knife of Blippa: The powerful FORM function.

With Form, it is possible not only to collect data, but also perform actions. Like storing the input into a data source, creating PDFs, sending emails etc etc.

Also, these actions can be paired with rules, allowing for quite complicated scenarios.

But what about getting data from an AI into Blippa?

Well, you can enable the Rest API in a form, allowing it to receive data that is not manually fed into the form.

To begin, create an API user. This credentials are to be given to the AI to allow it to post the data into Blippa.

Then, create a Blippa object with a regular form and add the fields that you are going to use:

Then, enable the Rest API and map the data using the definitions in the AI submit. Connect them to the corresponding form fields.

NOTE. The trick here is getting the URL right. Replace the OBJECT with the object token (without the brackets). The easiest way is to open the object, look at the URL and copy the second token (the first is the account token, the second is the object token). Do not use spaces in your Function reference. Also, make sure the API user has the appropriate security role

Then, you can decide what to do with the data. Create an object? Or feed it into a Data Source? Or both?

Now, configure the AI to use the Rest URL with the API User credentials.

If you get into trouble, start with making sure the URL iand the API user security role are correct.

And yes, we are looking into making a MCP for Blippa :slight_smile: