From e0f68d5824d720d330763b73a6a08c43b72a419f Mon Sep 17 00:00:00 2001 From: Zakir Jiwani <108548454+JiwaniZakir@users.noreply.github.com> Date: Fri, 17 Apr 2026 05:11:57 +0000 Subject: [PATCH] Add missing amazon-us blueprint for invoice fetch --- ai-connector/amazon/amazon-us.json | 44 ++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 ai-connector/amazon/amazon-us.json diff --git a/ai-connector/amazon/amazon-us.json b/ai-connector/amazon/amazon-us.json new file mode 100644 index 0000000..299e7de --- /dev/null +++ b/ai-connector/amazon/amazon-us.json @@ -0,0 +1,44 @@ +{ + "meta": { + "schemaVersion": "1.0.0" + }, + "data": { + "type": "blueprint", + "attributes": { + "getDocuments": [ + { + "action": "goToUrl", + "url": "https://www.amazon.com/gp/css/order-history" + }, + { + "action": "forEach", + "id": "invoice-links-loop", + "on": { + "querySelector": "a[href*='/invoice']" + }, + "steps": [ + { + "action": "click" + }, + { + "action": "waitForNetworkIdle" + }, + { + "action": "findPdfs", + "outputVariable": "new_pdfs" + }, + { + "action": "mergeVariables", + "inputVariable": "new_pdfs", + "outputVariable": "all_pdfs" + } + ] + }, + { + "action": "downloadPdfsFromUrls", + "inputVariable": "all_pdfs" + } + ] + } + } +}