Welcome to Smart Batch & Retry PRO! π‘οΈβ‘ The ultimate enterprise-grade utility toolkit designed to save your Bubble app from CPU limits, 30-second timeouts, and third-party API crashes.
When you scale your app, standard workflows aren't enough. Heavy database operations timeout, and single API failures (like OpenAI or Make.com returning a 500 error or 429 Rate Limit) crash your entire backend. This plugin gives you absolute control over your data processing and network requests.
π¦ The Batching Engine (Data Management)
List Chunker (Basic): Slice massive Bubble lists (e.g., thousands of Unique IDs) into safe, manageable JSON blocks (like chunks of 50) for fast recursive/scheduled workflows.
JSON Array Chunker (PRO π): Easily parse and slice massive raw JSON Arrays coming from external APIs or Webhooks. Forget complex regex; just paste the JSON, set the chunk size, and let the plugin do the heavy lifting!
π‘οΈ The API Fetch Engine (Network Resilience)
Safe API Fetch (Linear Retry): Make HTTP requests that automatically try again if the destination server fails.
Exponential Backoff Fetch (PRO π): The industry standard for API resilience (used by AWS & Google). Instead of spamming a failing server, this action uses AI-like pacing: it waits 1s, then 2s, then 4s, then 8s between retries.
π‘οΈ The Timeout Shield (PRO Exclusive): Both API actions in the PRO version feature a built-in 14-second to 25-second "Shield". If the Bubble server is about to kill your workflow due to the 30-second hard limit, the plugin safely aborts the retries and returns a clean error. Your app never crashes!
β±οΈ Send to QStash (Upstash): The ultimate Outbound queue. Schedule tasks to run later (e.g., delay for 10 seconds or 1 hour), bypass timeouts, and let QStash deliver your payloads asynchronously with automatic exponential backoff.
π‘οΈ Send to Hookdeck: The ultimate Inbound shield. Protect your external APIs or your own Bubble backend from traffic spikes. Send data to Hookdeck, and let it drip-feed the requests to your destination to prevent rate limits and server crashes.
π Key Benefits:
100% Server-Side & extremely fast.
Save Workload Units (WU) by preventing failed retries and infinite loops.
Zero setup required. Handle standard Bubble Arrays and heavy JSON seamlessly.
Build resilient, unbreakable backend architectures today! π οΈ
Destroy the 30-second limit. Never lose a webhook or drop a payload again! ππ
β¨ What's New in V4?
ποΈ NEW ACTION: Governed API Fetch (Pro)
SLA Monitoring: Set a maximum execution time (e.g., 3000ms). If an external API is silently degrading and taking too long, the plugin flags an SLA Breach so you can trigger instant developer alerts.
Compliance Ledger: Outputs a highly structured Execution History JSON containing exact timestamps, wait times, and error codes for every single retry attempt. Perfect for SOC2 compliance and audit logs.
π Exponential Backoff Fetch: Dead-Letter Queues (DLQ) & Observability
No More Lost Data: If an API fails all 5 retry attempts, the plugin won't just give up. It automatically routes the original payload and error data to a DLQ Webhook URL of your choice. Catch failed tasks and replay them later!
Observability Logs: Gain deep telemetry into exactly how long the plugin waited between retries and why each attempt failed.
π JSON Array Chunker: Smart Failure Recovery
Resume from Crash: If your massive 10,000-item backend workflow crashes halfway through, you no longer have to start from scratch. Pass the number of successful items into the new Start Index field, and the chunker will magically skip them, returning only the Remaining Items to prevent duplicate processing!
Demo Page:
https://demo-app-56978.bubbleapps.io/version-test/smartbatch_pro/1777369545841x295614567361669700Editor Page:
https://bubble.io/page?id=demo-app-56978&test_plugin=1777365380558x154032848985128960_current&tab=Design&name=smartbatch_pro