Code Examples for Workflows
Are there any code examples that anyone has shared for the Code Workflow action? Specifically I'm curious how I should go about accessing the GraphQL API from a Code action. I'm very familiar with GraphQL from having worked a lot with Shopify, but I'm not so familiar with how to use it in this environment. For instance, should I just hardcode my API key into the code?
Side note: I can access quite a few useful variables via
process.env
, even though shows an error in the code editor.2 Replies