Creating Custom Variables in Speak Nodes: A Guide for Version 1.8

·
·

How do we create variables in Speak nodes? I'm using 1.8 and there's simply no clear directions on how to do that. Your docs (https://docs.thoughtly.com/build/agent-builder/variables) don't mention custom variables at all. They don't even mention all the system variables. My usecase? During the call I ask the user some questions. I want the answers to be extracted, saved in variables which I can then send to google sheets via Zapier. If someone can tell me how to achieve this in 1.8, that would be great.

  • Avatar of Carlos
    Carlos
    ·
    ·

    Use the extract variables mid-call action.

  • Avatar of Asim Shahzad
    Asim Shahzad
    ·
    ·

    What does that mean? So if my call instructions are: Welcome! Please tell me what {issue} you're facing? "issue" will become a variable accessible in the next nodes?

  • Avatar of Carlos
    Carlos
    ·
    ·

    Will Del Principe do we have a prompt book on this?

  • Avatar of Carlos
    Carlos
    ·
    ·

    In general, yes, if you only need to reference the variable inside the builder you would do exactly as you wrote. If you need to send the information to a third party, you need to declare a variable via a mid-call action using the ai extract node.

  • Avatar of Asim Shahzad
    Asim Shahzad
    ·
    ·

    Would really appreciate some guide or video on this. I can pick things up quickly but I wasn't able to figure out how to use the variable extraction thing. My input to it was system.messageHistory or something (assuming that would contain the user+response thread for this particular call). I asked it to extract the required details. It got stuck on that node during a test call. Also, I couldn't find Google Sheets (or Zapier) in the Actions menu (where you guys have included a ton of other features including variable extraction).

  • Avatar of Carlos
    Carlos
    ·
    ·

    We'll let you know when we have guide on this.

  • Avatar of Asim Shahzad
    Asim Shahzad
    ·
    ·

    If possible, a few short instructions would be nice, here. I need to make a bot for a client.