MindWeave AI icon

MindWeave AI

Interact with MindWeave AI Platform

Assign Agent

AI-generated

Summary

Request an agent assignment for a customer lead by posting business, phone, and optional routing details to MindWeave's /api/v1/agents/assign endpoint.

Inputs

  • businessId (required) — Required UUID of the business requesting the assignment.
  • customerPhone (required) — Required customer phone number used to track the assignment.
  • isAiFlow — Whether an AI agent processed the lead before assignment. Defaults to false.
  • evolutionInstance — Optional Evolution API instance name, declared as identifying the relevant AI Agent subscription. Sent as an empty string when omitted.
  • latitude — Optional client latitude for geographic routing. Parsed as a floating-point number only when both latitude and longitude are supplied; otherwise both coordinates are sent as null.
  • longitude — Optional client longitude for geographic routing. Parsed as a floating-point number only when both coordinates are supplied.

Output shape

One JSON output item per input item, containing the API response unchanged.

The source does not define the response fields or assignment selection rules. With Continue On Fail enabled, a failed request produces an item containing an error message; otherwise the error stops execution.

Links

Discussion