Skip to main content

Notifications

Calling Actions from Copilot Studio
Unanswered

How to set Table variables manually?

Posted on by 23

I have a custom connector to OpenAI and one of the inputs necessary is a list of dictionaries like this:

[{"role": "system", "content": "hello"}, {"role": "system", "content": "message 2"}, etc]

 

When I try to add that I get an error saying "There is an error: 'BindingIncorrectTypeError". See the screenshot:

 

Screenshot 2024-01-29 at 10.54.31.png

Categories:
  • adilei Profile Picture
    adilei on at
    How to set Table variables manually?
    Try building the payload with a PowerFX formula and make sure it correctly identifies the data type
  • CU06071007-0 Profile Picture
    CU06071007-0 2 on at
    How to set Table variables manually?
    Hi mate, did you ever get this working?
  • adilei Profile Picture
    adilei on at
    Re: How to set Table variables manually?

    If you already have the JSON string in-memory, use "Parse value" to parse the string into a table object:

    adilei_0-1706655755113.png

     

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 137,998

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,059

Leaderboard

Featured topics