Okta Workflows Tips #69: Use AI to Extract JSON Data from an Image

Okta Workflows Tips are short and handy Okta Workflows tips and tricks. Read all the earlier tips.

Extract JSON data from an image

Okta Workflows uses JSON as its data format (it can also use XML, but almost always JSON). If you have an image with JSON data, you can use it to test your Okta Workflows automation. You can ask AI to extract the JSON data.

This is an image with sample JSON data:

Sample JSON data.
Sample JSON data.

Asking Gemini to extract the JSON:

Gemini prompt.
Gemini prompt.

Gemini returns the following:

Gemini response.
Gemini response.

Now, you can use the JSON to test your automation:

Using JSON to test an automation.
Using JSON to test an automation.

Read the earlier tips about using AI to generate sample JSON data:


Okta Workflows resources

๐Ÿš€ New to Okta Workflows? The Getting Started with Okta Workflows page has all the resources to help you get started.

๐Ÿ“บ Like learning from videos? Watch Okta Workflows videos.

โ“Have a question? Ask during community office hours, post on the community forum, or email me.

๐Ÿ™‹๐Ÿปโ€โ™€๏ธ Want to learn from the community? Join the #okta-workflows channel on the Mac Admins Slack.

๐Ÿ“– Want to learn more about Okta and automation? Take the Okta Workflows training on Okta Learning.

Leave a comment