hamza
09/30/2025, 12:43 PMVapi Support Bot
09/30/2025, 12:44 PMjson
{
"lead_id": "12345",
"lead_score": 85,
"nextcalldate": "2025-10-05T10:00:00Z"
}
Add these fields to your CRM update tool’s parameters and send them when updating the lead record.
For more, see the [custom tools guide](https://docs.vapi.ai/tools/custom-tools).
Source:
- [Custom Tools](https://docs.vapi.ai/tools/custom-tools)hamza
09/30/2025, 1:19 PMhamza
09/30/2025, 1:20 PMVapi Support Bot
09/30/2025, 1:21 PMlead_score and nextcalldate into Google Sheets, but you cannot fetch these fields from the sheet using Vapi's integration at this time.
For more details, see the [Google Sheets integration guide](https://docs.vapi.ai/tools/google-sheets).
Could you clarify if you need to read data from Google Sheets into Vapi, or are you looking for a way to sync updates from your CRM back into your sheet?
Source:
- [Google Sheets Integration](https://docs.vapi.ai/tools/google-sheets)hamza
09/30/2025, 1:23 PMVapi Support Bot
09/30/2025, 1:24 PMlead_score and nextcalldate from the Vapi API's call artifacts (structured outputs), or do you need help identifying the specific API endpoint to retrieve this data?
Sources:
- [Structured outputs quickstart](https://docs.vapi.ai/assistants/structured-outputs-quickstart)
- [Structured outputs](https://docs.vapi.ai/assistants/structured-outputs)hamza
09/30/2025, 1:27 PMVapi Support Bot
09/30/2025, 1:29 PMlead_score and nextcalldate fields? This step is required for these fields to appear in the API response under artifact.structuredOutputs when you fetch call data.
If you need help with creating or linking the schema, let me know!
Sources:
- [Structured outputs](https://docs.vapi.ai/assistants/structured-outputs)
- [Structured outputs quickstart](https://docs.vapi.ai/assistants/structured-outputs-quickstart)hamza
09/30/2025, 1:34 PMhamza
09/30/2025, 1:34 PMhamza
09/30/2025, 1:35 PMVapi Support Bot
09/30/2025, 1:36 PMnextcalldate with the current date and time, you need to set it programmatically in your payload before sending it to Vapi. For example, in Python:
python
import datetime
payload = {
"lead_score": 85,
"nextcalldate": datetime.datetime.utcnow().isoformat() + "Z"
}
Set nextcalldate to the current UTC time in ISO 8601 format before updating or creating the record via your tool or API call.
For more, see the [structured outputs guide](https://docs.vapi.ai/assistants/structured-outputs-quickstart).
Sources:
- [Structured outputs quickstart](https://docs.vapi.ai/assistants/structured-outputs-quickstart)
- [Structured outputs](https://docs.vapi.ai/assistants/structured-outputs)