From 3e3dc5a34fa67ce8e9747212c21440282d9a71aa Mon Sep 17 00:00:00 2001 From: bastienwellapp Date: Tue, 28 Apr 2026 11:51:19 +0200 Subject: [PATCH] fix: update blueprint for excalidraw --- ai-connector/excalidraw/excalidraw.json | 42 ++++++++++++++++++++----- 1 file changed, 35 insertions(+), 7 deletions(-) diff --git a/ai-connector/excalidraw/excalidraw.json b/ai-connector/excalidraw/excalidraw.json index 0bf0f3e..1d0ebc2 100644 --- a/ai-connector/excalidraw/excalidraw.json +++ b/ai-connector/excalidraw/excalidraw.json @@ -1,5 +1,9 @@ { + "meta": { + "schemaVersion": "1.0.0" + }, "data": { + "type": "blueprint", "attributes": { "getDocuments": [ { @@ -9,12 +13,26 @@ { "action": "waitForNetworkIdle" }, + { + "action": "wait", + "seconds": 2 + }, { "action": "forEach", - "id": "invoice-links-loop", + "id": "stripe-invoices", "on": { - "querySelector": ".ml-auto a[href]" + "querySelector": "a[href*='invoice.stripe.com']" }, + "selectorStrategies": [ + { + "strategy": "href-pattern", + "value": "a[href*='invoice.stripe.com']" + }, + { + "strategy": "css", + "value": "tbody a[href*='stripe.com']" + } + ], "steps": [ { "action": "getPdf", @@ -31,11 +49,21 @@ "action": "downloadPdfsFromUrls", "inputVariable": "all_pdfs" } + ], + "checkAuth": [ + { + "action": "goToUrl", + "url": "https://app.excalidraw.com/o/4v5Tc76L4dv/settings/billing" + }, + { + "action": "waitForNetworkIdle" + }, + { + "action": "checkAuth", + "authSelector": "a[href*='/settings/billing']", + "timeout": 10000 + } ] - }, - "type": "blueprint" - }, - "meta": { - "schemaVersion": "1.0.0" + } } } \ No newline at end of file