No data in blocks tool call
# support
d
Currently having issues with the Vapi AI and blocks workflow. The conversation flows correctly and from what I can see in the logs the data I need is being collected at each step. Near the end of the workflow the previously collected data is supposed to be sent to a webhook but always ends up either empty or with random text. I know this is a beta feature, but this is so close to working perfectly it hurts to see it break at this last step 😢 The call ID from my most recent test is: 3492d9dc-7f9b-4922-bf1f-8592a984c029 The GUID of the block is: 63cbb99a-605d-44e4-8ec9-a1dfdfc6cdb3
a
HeyDeguy Thank you for creating the ticket! A member of our team will reach out to you shortly.
v
@Deguy I'm sorry to hear you're experiencing issues with the Vapi AI and blocks workflow. It sounds like there might be a problem with how the data is being handled or passed to the webhook. To help you better, I'll need a bit more information about how you've set up the data collection and the webhook configuration. Could you please provide me with the following details? 1. How are you collecting and storing the data at each step of the workflow? 2. How is the data supposed to be formatted when sent to the webhook? 3. Can you share the configuration of the block that's responsible for sending the data to the webhook? With this information, I can give you more targeted advice on how to resolve the issue. If the problem persists, we may need to look into the logs associated with the call ID and block GUID you provided to diagnose the issue further.
You can continue this conversation by mentioning me in the message.
d
@User I have worked on this most of the day and believe this is an actual bug. Please refer this to a human
Below is the tool configuration:
Copy code
{
  "type": "handoff",
  "name": "tool",
  "block": {
    "name": "tool",
    "tool": {
      "type": "function",
      "server": {
        "url": "https://hooks.zapier.com/hooks/catch/<REDACTED>"
      },
      "function": {
        "name": "tool",
        "parameters": {
          "type": "object",
          "required": [
            "info",
            "name",
            "company",
            "accountNumber"
          ],
          "properties": {
            "info": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "company": {
              "type": "string"
            },
            "accountNumber": {
              "type": "string"
            }
          }
        }
      }
    },
    "type": "tool-call",
    "inputSchema": {
      "type": "object",
      "required": [
        "info",
        "name",
        "company",
        "accountNumber"
      ],
      "properties": {
        "info": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "company": {
          "type": "string"
        },
        "accountNumber": {
          "type": "string"
        }
      }
    },
    "outputSchema": {
      "type": "object",
      "properties": {}
    }
  },
  "input": {
    "info": "{{conversation_1.output.Summary}}",
    "name": "{{start.output.CallerName}}",
    "company": "{{start.output.OrganizationName}}",
    "accountNumber": "{{conversation_5.output.AccountNumber}}"
  },
  "destinations": [
    {
      "type": "step",
      "stepName": "conversation_3",
      "conditions": []
    }
  ],
  "metadata": {
    "nodeType": "handoff",
    "position": {
      "x": 47.41722542229115,
      "y": 863.6355240603137
    }
  }
}
@Vapi Please request help from the @User
v
@Deguy Please ask support for more info on this.
s
@Deguy The blocks are not yet fully prepared for production and development use cases consequently, you may experience some issues at this time. I would recommend utilizing assistants with prompting as an alternative. We are currently in the process of reworking the blocks, and they are anticipated to be operational by the first quarter of this year.
d
@Shubham Bajaj Thanks for the response. Hopefully this information helps a little with the development process 🙂