DEV Community

Cover image for GraphQL queries with Okta Workflows
Bryan Barrows for Okta Workflows

Posted on

GraphQL queries with Okta Workflows

Okta Workflows is a stellar tool for orchestrating automations and has built-in integrations with a wide variety of services. Workflows also makes it easy to communicate with APIs via the API Connector functionality.

A customer recently asked, "What if I need to talk to a GraphQL service? Can Okta Workflows do that?"

Yes! In essence, GraphQL is just a text format used in HTTP payloads, so we can leverage Workflows to generate the queries and the HTTP Functions in the API Connector to make the calls.

Screenshot of attached Okta Workflow that you can import to your environment and test

I found this helpful list of free GraphQL APIs for projects and demos and decided to test out the Star Wars API.


Feel free to check it out :

Download steps:
  • right click "view raw" in the panel above on the right
  • click "Save Link As"
  • be sure the filename ends in .flow

or check out my other guides and Workflows content (more coming soon!) here:

GitHub logo bbarrows89 / oktaworkflows

tips, flows, and more related to Okta Workflows


Hope this helps! Find me on LinkedIn or shoot me an email if you have any questions.

You can also join us at a Community Office Hours session to work through problems and ask questions - I'd love to see you there.

Top comments (0)