BRAINIAC Local Business Lead Operations is an MCP server published by software.brainiac, hosted at www.brainiac.software. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 8 tools, including local-lead-operations_record-normalize, local-lead-operations_missed-call-analyze, local-lead-operations_response-delay-detect, local-lead-operations_quote-followup-priority, local-lead-operations_unconverted-quote-detect.
Paid Local Business Lead Operations API via x402. Unpaid tool calls return 402.
1,086 connections through 4 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Copy supplied leads, calls, quotes, responses, and enquiries into a consistent inventory. Docs: https://www.brainiac.software/api/local-lead-operations/record-normalize Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array | enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_record-normalize",
"title": "Normalize lead records",
"description": "Copy supplied leads, calls, quotes, responses, and enquiries into a consistent inventory. Docs: https://www.brainiac.software/api/local-lead-operations/record-normalize Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"missed": {
"type": "boolean",
"description": "missed. Boolean."
},
"status": {
"type": "string",
"description": "status. String."
},
"duration": {
"type": "number",
"description": "duration. Number."
},
"direction": {
"type": "string",
"description": "direction. String."
},
"durationSupplied": {
"type": "boolean",
"description": "durationSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "calls. Array."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"email": {
"type": "string",
"description": "email. String."
},
"phone": {
"type": "string",
"description": "phone. String."
},
"value": {
"type": "number",
"description": "value. Number."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"received": {
"type": "string",
"description": "received. String."
},
"callCount": {
"type": "number",
"description": "callCount. Number."
},
"quoteCount": {
"type": "number",
"description": "quoteCount. Number."
},
"enquiryCount": {
"type": "number",
"description": "enquiryCount. Number."
},
"responseCount": {
"type": "number",
"description": "responseCount. Number."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "leads. Array."
},
"quotes": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "quotes. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"enquiries": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "enquiries. Array."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"channel": {
"type": "string",
"description": "channel. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "responses. Array."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Normalize lead records",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Identify missed calls and whether a later response was recorded for the same lead. Docs: https://www.brainiac.software/api/local-lead-operations/missed-call-analyze Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array |
Calculate hours from enquiry received time to the first recorded response. Docs: https://www.brainiac.software/api/local-lead-operations/response-delay-detect Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array |
Rank leads with transparent rules for missed calls, response delays, and quotes without outcomes. Docs: https://www.brainiac.software/api/local-lead-operations/quote-followup-priority Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array |
Find quotes with no recorded outcome and age them from the sent timestamp. Docs: https://www.brainiac.software/api/local-lead-operations/unconverted-quote-detect Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array |
Calculate conversion rates from supplied source lead and converted counts. Docs: https://www.brainiac.software/api/local-lead-operations/source-performance-analyze Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array |
Classify enquiry text with transparent token rules such as emergency, quote, booking, or complaint. Docs: https://www.brainiac.software/api/local-lead-operations/customer-enquiry-classify Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries | array |
Combine unanswered missed calls, response delays, unconverted quotes, source rates, and enquiry classes from supplied records. Docs: https://www.brainiac.software/api/local-lead-operations/conversion-opportunity-report Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.
| Parameter | Type | Description |
|---|---|---|
| csv | string | csv, string, length 0 to 200000. Optional. |
| asOf | string | asOf, string, length 0 to 40. Optional. |
| file | object | file, object. Optional. |
| json | string | json, string, length 0 to 200000. Optional. |
| text | string | text, string, length 0 to 200000. Optional. |
| calls | array | calls, array. Optional. |
| leads | array | leads, array. Optional. |
| quotes | array | quotes, array. Optional. |
| sources | array | sources, array. Optional. |
| enquiries |
Tool calls wrap the existing POST APIs and stay pay-per-call. initialize and tools/list are free. An unpaid tool call returns the x402 payment terms in the tool result and does not run. Retry with the payment in params._meta["x402/payment"], or send payment-signature. Payment settles only after a successful result.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_missed-call-analyze",
"title": "Analyze missed-call leads",
"description": "Identify missed calls and whether a later response was recorded for the same lead. Docs: https://www.brainiac.software/api/local-lead-operations/missed-call-analyze Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"direction": {
"type": "string",
"description": "direction. String."
},
"responded": {
"type": "boolean",
"description": "responded. Boolean."
},
"delayHours": {
"type": "number",
"description": "delayHours. Number."
},
"responseAt": {
"type": "string",
"description": "responseAt. String."
},
"responseChannel": {
"type": "string",
"description": "responseChannel. String."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"delayHoursSupplied": {
"type": "boolean",
"description": "delayHoursSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"missedCount": {
"type": "number",
"description": "missedCount. Number."
},
"unansweredCount": {
"type": "number",
"description": "unansweredCount. Number."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Analyze missed-call leads",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_response-delay-detect",
"title": "Detect lead response delays",
"description": "Calculate hours from enquiry received time to the first recorded response. Docs: https://www.brainiac.software/api/local-lead-operations/response-delay-detect Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asOf": {
"type": "string",
"description": "asOf. String."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"overdue": {
"type": "boolean",
"description": "overdue. Boolean."
},
"received": {
"type": "string",
"description": "received. String."
},
"responded": {
"type": "boolean",
"description": "responded. Boolean."
},
"delayHours": {
"type": "number",
"description": "delayHours. Number."
},
"limitHours": {
"type": "number",
"description": "limitHours. Number."
},
"responseAt": {
"type": "string",
"description": "responseAt. String."
},
"responseChannel": {
"type": "string",
"description": "responseChannel. String."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"delayHoursSupplied": {
"type": "boolean",
"description": "delayHoursSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitHours": {
"type": "number",
"description": "limitHours. Number."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"overdueCount": {
"type": "number",
"description": "overdueCount. Number."
},
"unansweredCount": {
"type": "number",
"description": "unansweredCount. Number."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Detect lead response delays",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_quote-followup-priority",
"title": "Prioritize quote follow-ups",
"description": "Rank leads with transparent rules for missed calls, response delays, and quotes without outcomes. Docs: https://www.brainiac.software/api/local-lead-operations/quote-followup-priority Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asOf": {
"type": "string",
"description": "asOf. String."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"level": {
"type": "string",
"description": "level. String."
},
"value": {
"type": "number",
"description": "value. Number."
},
"reasons": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "reasons. Array."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"rules": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "rules. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"highCount": {
"type": "number",
"description": "highCount. Number."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"quoteLimitDays": {
"type": "number",
"description": "quoteLimitDays. Number."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"responseLimitHours": {
"type": "number",
"description": "responseLimitHours. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Prioritize quote follow-ups",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_unconverted-quote-detect",
"title": "Detect unconverted quotes",
"description": "Find quotes with no recorded outcome and age them from the sent timestamp. Docs: https://www.brainiac.software/api/local-lead-operations/unconverted-quote-detect Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asOf": {
"type": "string",
"description": "asOf. String."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"sent": {
"type": "string",
"description": "sent. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"ageDays": {
"type": "number",
"description": "ageDays. Number."
},
"outcome": {
"type": "string",
"description": "outcome. String."
},
"overdue": {
"type": "boolean",
"description": "overdue. Boolean."
},
"limitDays": {
"type": "number",
"description": "limitDays. Number."
},
"outcomeAt": {
"type": "string",
"description": "outcomeAt. String."
},
"amountSupplied": {
"type": "boolean",
"description": "amountSupplied. Boolean."
},
"ageDaysSupplied": {
"type": "boolean",
"description": "ageDaysSupplied. Boolean."
},
"outcomeRecorded": {
"type": "boolean",
"description": "outcomeRecorded. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"limitDays": {
"type": "number",
"description": "limitDays. Number."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"overdueCount": {
"type": "number",
"description": "overdueCount. Number."
},
"unconvertedCount": {
"type": "number",
"description": "unconvertedCount. Number."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Detect unconverted quotes",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_source-performance-analyze",
"title": "Analyze lead source performance",
"description": "Calculate conversion rates from supplied source lead and converted counts. Docs: https://www.brainiac.software/api/local-lead-operations/source-performance-analyze Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"status": {
"type": "string",
"description": "status. String."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"leads": {
"type": "number",
"description": "leads. Number."
},
"converted": {
"type": "number",
"description": "converted. Number."
},
"leadsSupplied": {
"type": "boolean",
"description": "leadsSupplied. Boolean."
},
"conversionRate": {
"type": "number",
"description": "conversionRate. Number."
},
"sampleSufficient": {
"type": "boolean",
"description": "sampleSufficient. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"convertedSupplied": {
"type": "boolean",
"description": "convertedSupplied. Boolean."
},
"conversionRateSupplied": {
"type": "boolean",
"description": "conversionRateSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"minSample": {
"type": "number",
"description": "minSample. Number."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"highestRate": {
"type": "number",
"description": "highestRate. Number."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"highestRateSourceId": {
"type": "string",
"description": "highestRateSourceId. String."
},
"highestRateSupplied": {
"type": "boolean",
"description": "highestRateSupplied. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Analyze lead source performance",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_customer-enquiry-classify",
"title": "Classify customer enquiries",
"description": "Classify enquiry text with transparent token rules such as emergency, quote, booking, or complaint. Docs: https://www.brainiac.software/api/local-lead-operations/customer-enquiry-classify Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"text": {
"type": "string",
"description": "text. String."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"channel": {
"type": "string",
"description": "channel. String."
},
"matched": {
"type": "string",
"description": "matched. String."
},
"received": {
"type": "string",
"description": "received. String."
},
"confidence": {
"type": "string",
"description": "confidence. String."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "items. Array."
},
"counts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"description": "kind. String."
},
"count": {
"type": "number",
"description": "count. Number."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "counts. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "string",
"description": "Item. String."
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Classify customer enquiries",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| enquiries, array. Optional. |
| minSample | integer | minSample, integer, from 1 to 100000. Optional. |
| responses | array | responses, array. Optional. |
| quoteLimitDays | number | quoteLimitDays, number, from 0 to 365. Optional. |
| responseLimitHours | number | responseLimitHours, number, from 0 to 720. Optional. |
{
"name": "local-lead-operations_conversion-opportunity-report",
"title": "Report lead conversion opportunities",
"description": "Combine unanswered missed calls, response delays, unconverted quotes, source rates, and enquiry classes from supplied records. Docs: https://www.brainiac.software/api/local-lead-operations/conversion-opportunity-report Keywords: when qualifying or routing a local lead, text, csv, file, leads, calls, quotes, responses, enquiries, sources, asOf, responseLimitHours, quoteLimitDays, minSample, checkedAt.",
"inputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"csv": {
"type": "string",
"maxLength": 200000,
"description": "csv, string, length 0 to 200000. Optional."
},
"asOf": {
"type": "string",
"maxLength": 40,
"description": "asOf, string, length 0 to 40. Optional."
},
"file": {
"type": "object",
"required": [
"mediaType",
"fileBase64"
],
"properties": {
"filename": {
"type": "string",
"maxLength": 180,
"minLength": 1,
"description": "filename, string, length 1 to 180. Optional."
},
"mediaType": {
"enum": [
"text/plain",
"text/csv",
"application/json"
],
"type": "string",
"description": "mediaType, string, one of text/plain, text/csv, application/json. Required."
},
"fileBase64": {
"type": "string",
"maxLength": 12000000,
"minLength": 1,
"description": "fileBase64, string, length 1 to 12000000. Required."
}
},
"description": "file, object. Optional."
},
"json": {
"type": "string",
"maxLength": 200000,
"description": "json, string, length 0 to 200000. Optional."
},
"text": {
"type": "string",
"maxLength": 200000,
"description": "text, string, length 0 to 200000. Optional."
},
"calls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"missed": {
"type": "boolean",
"description": "missed, boolean. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"duration": {
"type": "number",
"maximum": 86400,
"minimum": 0,
"description": "duration, number, from 0 to 86400. Optional."
},
"direction": {
"type": "string",
"maxLength": 40,
"description": "direction, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "calls, array. Optional."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"email": {
"type": "string",
"maxLength": 160,
"description": "email, string, length 0 to 160. Optional."
},
"phone": {
"type": "string",
"maxLength": 40,
"description": "phone, string, length 0 to 40. Optional."
},
"value": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "value, number, from 0 to 1000000000. Optional."
},
"source": {
"type": "string",
"maxLength": 120,
"description": "source, string, length 0 to 120. Optional."
},
"status": {
"type": "string",
"maxLength": 80,
"description": "status, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "leads, array. Optional."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"sent": {
"type": "string",
"maxLength": 40,
"description": "sent, string, length 0 to 40. Optional."
},
"amount": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "amount, number, from 0 to 1000000000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"outcome": {
"type": "string",
"maxLength": 80,
"description": "outcome, string, length 0 to 80. Optional."
},
"outcomeAt": {
"type": "string",
"maxLength": 40,
"description": "outcomeAt, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "quotes, array. Optional."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"name": {
"type": "string",
"maxLength": 160,
"description": "name, string, length 0 to 160. Optional."
},
"leads": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "leads, number, from 0 to 1000000000. Optional."
},
"converted": {
"type": "number",
"maximum": 1000000000,
"minimum": 0,
"description": "converted, number, from 0 to 1000000000. Optional."
}
},
"description": "item, object. Required."
},
"description": "sources, array. Optional."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"text": {
"type": "string",
"maxLength": 2000,
"description": "text, string, length 0 to 2000. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
},
"received": {
"type": "string",
"maxLength": 40,
"description": "received, string, length 0 to 40. Optional."
}
},
"description": "item, object. Required."
},
"description": "enquiries, array. Optional."
},
"minSample": {
"type": "integer",
"maximum": 100000,
"minimum": 1,
"description": "minSample, integer, from 1 to 100000. Optional."
},
"responses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"maxLength": 40,
"description": "at, string, length 0 to 40. Optional."
},
"id": {
"type": "string",
"maxLength": 80,
"description": "id, string, length 0 to 80. Optional."
},
"leadId": {
"type": "string",
"maxLength": 80,
"description": "leadId, string, length 0 to 80. Optional."
},
"channel": {
"type": "string",
"maxLength": 80,
"description": "channel, string, length 0 to 80. Optional."
}
},
"description": "item, object. Required."
},
"description": "responses, array. Optional."
},
"quoteLimitDays": {
"type": "number",
"maximum": 365,
"minimum": 0,
"description": "quoteLimitDays, number, from 0 to 365. Optional."
},
"responseLimitHours": {
"type": "number",
"maximum": 720,
"minimum": 0,
"description": "responseLimitHours, number, from 0 to 720. Optional."
}
}
},
"outputSchema": {
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"asOf": {
"type": "string",
"description": "asOf. String."
},
"leads": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"email": {
"type": "string",
"description": "email. String."
},
"phone": {
"type": "string",
"description": "phone. String."
},
"value": {
"type": "number",
"description": "value. Number."
},
"source": {
"type": "string",
"description": "source. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"received": {
"type": "string",
"description": "received. String."
},
"callCount": {
"type": "number",
"description": "callCount. Number."
},
"quoteCount": {
"type": "number",
"description": "quoteCount. Number."
},
"enquiryCount": {
"type": "number",
"description": "enquiryCount. Number."
},
"responseCount": {
"type": "number",
"description": "responseCount. Number."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "leads. Array."
},
"rules": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "rules. Array."
},
"delays": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"overdue": {
"type": "boolean",
"description": "overdue. Boolean."
},
"received": {
"type": "string",
"description": "received. String."
},
"responded": {
"type": "boolean",
"description": "responded. Boolean."
},
"delayHours": {
"type": "number",
"description": "delayHours. Number."
},
"limitHours": {
"type": "number",
"description": "limitHours. Number."
},
"responseAt": {
"type": "string",
"description": "responseAt. String."
},
"responseChannel": {
"type": "string",
"description": "responseChannel. String."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"delayHoursSupplied": {
"type": "boolean",
"description": "delayHoursSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "delays. Array."
},
"missed": {
"type": "array",
"items": {
"type": "object",
"properties": {
"at": {
"type": "string",
"description": "at. String."
},
"id": {
"type": "string",
"description": "id. String."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"status": {
"type": "string",
"description": "status. String."
},
"direction": {
"type": "string",
"description": "direction. String."
},
"responded": {
"type": "boolean",
"description": "responded. Boolean."
},
"delayHours": {
"type": "number",
"description": "delayHours. Number."
},
"responseAt": {
"type": "string",
"description": "responseAt. String."
},
"responseChannel": {
"type": "string",
"description": "responseChannel. String."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"delayHoursSupplied": {
"type": "boolean",
"description": "delayHoursSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "missed. Array."
},
"quotes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"sent": {
"type": "string",
"description": "sent. String."
},
"amount": {
"type": "number",
"description": "amount. Number."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"ageDays": {
"type": "number",
"description": "ageDays. Number."
},
"outcome": {
"type": "string",
"description": "outcome. String."
},
"overdue": {
"type": "boolean",
"description": "overdue. Boolean."
},
"limitDays": {
"type": "number",
"description": "limitDays. Number."
},
"outcomeAt": {
"type": "string",
"description": "outcomeAt. String."
},
"amountSupplied": {
"type": "boolean",
"description": "amountSupplied. Boolean."
},
"ageDaysSupplied": {
"type": "boolean",
"description": "ageDaysSupplied. Boolean."
},
"outcomeRecorded": {
"type": "boolean",
"description": "outcomeRecorded. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "quotes. Array."
},
"status": {
"type": "string",
"description": "status. String."
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"leads": {
"type": "number",
"description": "leads. Number."
},
"converted": {
"type": "number",
"description": "converted. Number."
},
"leadsSupplied": {
"type": "boolean",
"description": "leadsSupplied. Boolean."
},
"conversionRate": {
"type": "number",
"description": "conversionRate. Number."
},
"sampleSufficient": {
"type": "boolean",
"description": "sampleSufficient. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"convertedSupplied": {
"type": "boolean",
"description": "convertedSupplied. Boolean."
},
"conversionRateSupplied": {
"type": "boolean",
"description": "conversionRateSupplied. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "sources. Array."
},
"callMade": {
"type": "boolean",
"description": "callMade. Boolean."
},
"findings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "code. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"detail": {
"type": "string",
"description": "detail. String."
},
"subject": {
"type": "string",
"description": "subject. String."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "findings. Array."
},
"checkedAt": {
"type": "string",
"description": "checkedAt. String."
},
"enquiries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"kind": {
"type": "string",
"description": "kind. String."
},
"text": {
"type": "string",
"description": "text. String."
},
"leadId": {
"type": "string",
"description": "leadId. String."
},
"channel": {
"type": "string",
"description": "channel. String."
},
"matched": {
"type": "string",
"description": "matched. String."
},
"received": {
"type": "string",
"description": "received. String."
},
"confidence": {
"type": "string",
"description": "confidence. String."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "enquiries. Array."
},
"leadCount": {
"type": "number",
"description": "leadCount. Number."
},
"priorities": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "id. String."
},
"name": {
"type": "string",
"description": "name. String."
},
"level": {
"type": "string",
"description": "level. String."
},
"value": {
"type": "number",
"description": "value. Number."
},
"reasons": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "reasons. Array."
},
"valueSupplied": {
"type": "boolean",
"description": "valueSupplied. Boolean."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
}
},
"description": "item. Object.",
"additionalProperties": {}
},
"description": "priorities. Array."
},
"crmAccessed": {
"type": "boolean",
"description": "crmAccessed. Boolean."
},
"limitations": {
"type": "array",
"items": {
"type": "string",
"description": "item. String."
},
"description": "limitations. Array."
},
"messageSent": {
"type": "boolean",
"description": "messageSent. Boolean."
},
"quoteLimitDays": {
"type": "number",
"description": "quoteLimitDays. Number."
},
"conversionClaimed": {
"type": "boolean",
"description": "conversionClaimed. Boolean."
},
"highPriorityCount": {
"type": "number",
"description": "highPriorityCount. Number."
},
"responseLimitHours": {
"type": "number",
"description": "responseLimitHours. Number."
},
"overdueResponseCount": {
"type": "number",
"description": "overdueResponseCount. Number."
},
"missedUnansweredCount": {
"type": "number",
"description": "missedUnansweredCount. Number."
},
"unconvertedQuoteCount": {
"type": "number",
"description": "unconvertedQuoteCount. Number."
}
},
"additionalProperties": {}
},
"annotations": {
"title": "Report lead conversion opportunities",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}