Forum Academy Marketplace Showcase Pricing Features

How to validate data in API workflow before creating a new thing?

I have an API Workflow that expects data of a certain kind of Thing. The problem is, that the data received from the API is not sanitized or validated. E.g. bubble saves text in a date field etc.
I need to have the possibility to validate the data which is sent to the API workflow BEFORE creating a new Thing out of this data.
For example:

  • Check if it is the right datatype
  • Check if it has the right format, e.g. a URL

  • Thanks in advance for your help.

You should be able to set the datatypes on each item returned in the api connector when you initialize it.

Thank you William for your response. OK, that is the first step. For further validation I’m using now the toolbox server script and write my own validation in javascript.