ads_create_workflow
Save an AMC query on the store's instance under an id of your choosing, so a schedule (ads_create_schedule) can run it every day or week.
writeAmazon Adsads.amc-reporting
Ask the seller first. Amazon Ads API · createWorkflow · POST /amc/reporting/{instanceId}/workflows Docs: https://advertising.amazon.com/API/docs/en-us/amc-reporting#tag/Workflows/operation/createWorkflow Gate: approve — interactive: show the change (Amazon's preview first where one exists), wait for an explicit approve; autopilot: only when the seller's own words asked for this change; otherwise ask.
Call it
In an AI client (MCP)
{
"name": "ads_create_workflow",
"arguments": {
"store": "myStore-US",
"country_code": "<country_code>",
"body": {}
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_create_workflow \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"store":"myStore-US","country_code":"<country_code>","body":{}}'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'). |
bodyrequired | object | the request body — its fields, enums and required marks are in this parameter's schema. workflowId (letters, digits, '_', '-', '.') and sqlQuery are required; the SQL is the same AMC SQL as ads_create_workflow_execution's. |
Result
Every tool answers {notification, data, human_action}; data carries:
data.workflow_id— the saved workflow's id.
Gotchas
- A synced report's workflow (data.synced_ids of ads_list_workflows) is refused.
- Check the SQL first with ads_create_workflow_execution (dry_run true).