Tags: Demonstration, Files, PDF
This task demonstrates how one might use the Files action to generate a file, using the fileCreate GraphQL mutation to transfer the resulting file to Shopify for storage.
- View in the task library: tasks.mechanic.dev/demonstration-generate-a-file-and-upload-to-shopify
- Task JSON, for direct import: task.json
- Preview task code: script.liquid
mechanic/user/trigger
mechanic/actions/perform
Learn about event subscriptions in Mechanic
This task demonstrates how one might use the Files action to generate a file, using the fileCreate GraphQL mutation to transfer the resulting file to Shopify for storage.
Find this task in the library at tasks.mechanic.dev, and use the "Try this task" button. Or, import this task's JSON export – see Importing and exporting tasks to learn how imports work.
Found a bug? Got an improvement to add? Start here: ../../CONTRIBUTING.md.
Submit your task requests for consideration by the Mechanic community, and they may be chosen for development and inclusion in the task library!