This workflow listens for POST requests on the /availability-api endpoint, processes incoming availability data, filters and prioritizes designer options based on defined rules, and logs the decision details into a Postgres database.
availability-api, with response mode set to respond through a response node.$json.body, allowing access to incoming data for subsequent nodes.maxItems is dynamically calculated based on the index of the designer out in more than 2 days:prev_des == 1) and high_usage is false.taskId from the webhook body into execution data for later reference.task_id from webhook.account and designer details obtained from prior nodes.all_choices).designer_data for context.explanation_pl and explanation_pl_md containing formatted messages explaining the assignment, generated via JavaScript.message and message_md.aa_decision_log table.task_id, designer, all_choices, assignee_id, designer_data, explanation_pl, explanation_pl_md, execution_id, among others.E1ZzQqtaKFgPZ75x.