Hello everyone,
I’m building an Integration with the monday Apps Framework and deploying my webhook handler via mapps code:push
into the monday-code serverless environment. My /monday/execute_action
function does the following on each status-change event:
- Creates a new item on a target board
- Copies over connected-board column relations
- Fetches & recreates subitems (including mapping their columns)
- Sends GraphQL mutations back to monday.com
This works fine when users “Approve” a handful of items, but if they trigger the same recipe on ~100 items simultaneously, I start seeing:
- “Complexity budget exhausted” errors
- Timeouts or retries from monday.com
- Intermittent “itemId not found” errors when creating subitems
Questions:
Can I safely enqueue jobs from within monday-code? For example, pushing payloads to AWS SQS / Redis-Bull and using another Lambda or container to process them with controlled concurrency (e.g. p-limit(5)
)—or is that discouraged?
Are there any pure-serverless patterns (monday-code + SQS event mappings, DynamoDB dedupe, etc.) that people have successfully used to avoid spinning up dedicated servers?
Token-refresh & dedupe: How do others handle OAuth token expiry in a long-running job queue, and persist de-duplication state across many parallel executions?
Thanks for all the insights!