Voiceflow PartnersVPVoiceflow Partners
Powered by
Akbar`LeeA
Voiceflow Partners•5mo ago
Akbar`Lee

Help! Add to sheet tool in AI block keeps giving "expected array" error

Hey everyone,

I'm completely stuck on something and hoping someone can help.

I'm using one of the new AI-generated "Model" blocks to handle my hotel reservations. Inside this block, I'm using the Sayfaya ekle (Add to sheet) tool to send the data to Google Sheets.

No matter what I do, it fails every single time with this error: "Validation failed for google_sheets_append_spreadsheet: values is expected array, received string"

It seems like the block is always trying to send my data as a single piece of text (string) instead of a list (array), and Google Sheets isn't accepting it.

Here's what I've tried:

Prompting the AI: I've told the AI in the "Instructions" box to specifically create a "SYSTEM ARRAY" (a list) with variables like {Full name}, {Email}, etc., and send that list to the values parameter. Still get the error.

Using the "Default value" box: I tried forcing it by putting [{Full name}, {telephone number}, ...] directly into the "Varsayılan değer" box. Still the same error.

Manual Inputs: I tried turning off the blue "AI" toggle for the URL and menzil (sheet name) and filling them in by hand, leaving only the values toggle on "AI". That also didn't work.

I'm starting to think this Add to sheet tool is just buggy when it's inside an AI Model block, because the normal, manual Google Sheets block (the separate one from the Dev menu) works fine.

Am I missing something obvious? How are you supposed to send a list of variables to the values field from inside this AI block?

Thanks for any help!
dc_at.png
Voiceflow Partners banner
Voiceflow PartnersJoin
Exclusive community for Voiceflow Solutions Providers & Content Creators.
13,076Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Recent Announcements
jacklyn

# Let your agents search the web 🔎 Hey everyone! We just released the web search tool for the agent step! Your agents can now automatically search the web for information, letting your agent supplement the LLM's knowledge and the data in its knowledge base with live, up-to-date information. Plus.... * You can restrict searches to specific domains, so your agent only searches sites that you own * This is a tool, so you remain in control of when the agent searches the web * Results are automatically summarized in a way that your agent can automatically understand Under the hood, we're using OpenAI's web search API. Give it a try, and let us know what you think! https://docs.voiceflow.com/changelog/native-web-search-tool

jacklyn · 4mo ago

jacklyn

jacklynbiggin's Thread

jacklyn · 4mo ago

hurt-tomato

connor_maclean's Thread

hurt-tomato · 4mo ago

Similar Threads

Help with Add to Sheet function
mikchlMmikchl / ❓┃ask-a-question
8mo ago
Tool "Get sheet"
IvoIIvo / ❓┃ask-a-question
6mo ago
How to use Secrets in API tool from AI agent (not API block)
gapuyyyGgapuyyy / ❓┃ask-a-question
6mo ago
Set ai block assigning 0
renveerRrenveer / ❓┃ask-a-question
2y ago