# GraphQL Admin API Action

Here's an example of a flow that can use the response from the GraphQL Admin API call:

<figure><img src="https://1153628397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RDgQr1PbXUjzWMoWZus%2Fuploads%2FjzMiLZr7HnyaFIpKMWYG%2FScreenshot%202024-06-23%20at%2010.45.29%E2%80%AFAM.png?alt=media&#x26;token=c1543c9a-3815-4b88-be43-d3fbe5bbec88" alt=""><figcaption></figcaption></figure>

The action gives you a field for the query and a field for the input variables. And the response back is stringified JSON so that the specifics of the fields in the payload can be arbitrarily set at run-time:

<figure><img src="https://1153628397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RDgQr1PbXUjzWMoWZus%2Fuploads%2Fv7JLdIyB3geb7tCGyvDW%2FScreenshot%202024-06-23%20at%2010.49.28%E2%80%AFAM.png?alt=media&#x26;token=875d3f14-4595-4a6a-9030-eb4d2bbbab4f" alt=""><figcaption></figcaption></figure>

And here's what the log output looks like:

<figure><img src="https://1153628397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RDgQr1PbXUjzWMoWZus%2Fuploads%2FbYJy7Gl8kmBLNTpXLF0W%2FScreenshot%202024-06-23%20at%2010.45.59%E2%80%AFAM.png?alt=media&#x26;token=7286c120-204d-47ac-8e17-d8a55b9043fb" alt=""><figcaption></figcaption></figure>

**Import Flow Template**

{% file src="<https://1153628397-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4RDgQr1PbXUjzWMoWZus%2Fuploads%2FYfJuND8pGgHOCG4uwnzE%2FGraphQL%20Admin%20API%20With%20Response.flow?alt=media&token=2ccfb92b-92cd-4994-9d58-281af31c29bd>" %}
