Menu
bulkOperation
The current bulk operation for this app — poll its `status` and download the JSONL result from its `url`.
Use it in a workflow
- Add a step and choose the Shopify connector.
- Pick the bulkOperation action (under Bulk).
- Fill in the fields below, then reference the result from later steps as
{{bulkoperation.response.data}}.
Query
This is the query the action sends by default. Edit it in the step's Query field to change which fields come back.
query BulkOperation($id: ID!) {
bulkOperation(id: $id) {
completedAt
createdAt
errorCode
fileSize
id
objectCount
partialDataUrl
query
rootObjectCount
status
type
url
}
}
Variables
Pass these as a JSON object in the step's Variables field.
{
"id": "string"
}
Response
Read the result with {{bulkoperation.response.data.data.bulkOperation}}. If the API returns errors, the step fails and they are at {{bulkoperation.response.data.errors}}.
Need more? See the Shopify guide for connection setup and behaviour shared by every action.
Was this page helpful?