ads_get_workflow
Read one saved AMC query (workflow) on the store's instance: its SQL, parameters and output settings.
readAmazon Adsads.amc-reporting
Amazon Ads API · getWorkflow · GET /amc/reporting/{instanceId}/workflows/{workflowId} Docs: https://advertising.amazon.com/API/docs/en-us/amc-reporting#tag/Workflows/operation/getWorkflow
Call it
In an AI client (MCP)
{
"name": "ads_get_workflow",
"arguments": {
"store": "myStore-US",
"country_code": "<country_code>",
"workflow_id": "<workflow_id>"
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_get_workflow \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","country_code":"<country_code>","workflow_id":"<workflow_id>"}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
storerequired | string | the store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim. |
country_coderequired | string | the Ads profile's 2-letter country code (e.g. 'US'). |
workflow_idrequired | string | the saved workflow's id (data.workflows[].workflowId). |
Result
Every tool answers {notification, data, human_action}; data carries:
data.workflow— Amazon's workflow — {workflowId, sqlQuery, inputParameters, …}.