My team is working on build it’s own application which communicates with our public APIs that are written in GraphQL. Our triggers (backed by Webhooks) often contain very lightweight payloads. As a result, we foresee clients having the need to create a step to run a Search Action back to our API to grab additional information about the record in question before passing it on to the next step.
The question I have is whether there exists any methodology to presenting and allowing the customer to choose which fields in GraphQL they would like returned in the response of the search action? Right now we have this hardcoded in the outputFields property of the operation in our source code for the Zapier app.
Are there any options here or people who have worked around this with GraphQL?
Thank you in advance!
Best answer by ikbelkirasan
While this may be doable, I would suggest selecting the fields internally in the search step then return all of them to make it easier for the user to set up their zap. Hope this makes sense.