The MMQ workflow is triggered by an HTTP GET request to fetch a logo image through a webhook, then processes related task and account data, builds responses, and interacts with Postgres and external services. It facilitates logo retrieval while managing task states and account validation.
/logo endpoint via the “Webhook4” node. It processes the request to fetch logo image data, checks account task capacity, and orchestrates interactions with Postgres and other integrated systems. The main goal is to retrieve the logo image while managing task statuses, account limits, and related data updates.
/logo path."SELECT * FROM get_account_task_stats({{ $json.query.account }}) JOIN accounts a ON a.account = {{ $json.query.account }}" (Check account task quota)"WITH ... (complex task status and history query)""SELECT * FROM public.clickup_accounts WHERE account = '{{ $json.query.account }}'"{"logo_url": "Full logo image URL or binary data"}"SELECT * FROM public.task_history WHERE account = {{ $json.account }}"active_projects_mv, to ensure latest data.