diff --git a/ai-connector/sss/sss.json b/ai-connector/sss/sss.json new file mode 100644 index 0000000..fc3b04c --- /dev/null +++ b/ai-connector/sss/sss.json @@ -0,0 +1,55 @@ +{ + "meta": { + "schemaVersion": "1.0.0" + }, + "data": { + "type": "blueprint", + "attributes": { + "checkAuth": [ + { + "action": "goToUrl", + "url": "https://claude.ai/settings/billing" + }, + { + "action": "waitForNetworkIdle" + }, + { + "action": "checkAuth", + "authSelector": "a[href=\"/settings/connectors\"]", + "timeout": 5000 + } + ], + "getDocuments": [ + { + "action": "goToUrl", + "url": "https://claude.ai/settings/billing" + }, + { + "action": "waitForNetworkIdle" + }, + { + "action": "forEach", + "id": "invoice-links-loop", + "on": { + "querySelector": ".font-base a[href]" + }, + "steps": [ + { + "action": "getPdf", + "outputVariable": "new_pdfs" + }, + { + "action": "mergeVariables", + "inputVariable": "new_pdfs", + "outputVariable": "all_pdfs" + } + ] + }, + { + "action": "downloadPdfsFromUrls", + "inputVariable": "all_pdfs" + } + ] + } + } +} \ No newline at end of file