web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / How to set Table varia...
Copilot Studio
Unanswered

How to set Table variables manually?

(1) ShareShare
ReportReport
Posted on by 29

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

I have the same question (0)
  • adilei Profile Picture
    Microsoft Employee on at

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

    adilei_0-1706655755113.png

     

  • CU06071007-0 Profile Picture
    2 on at
    Hi mate, did you ever get this working?
  • adilei Profile Picture
    Microsoft Employee on at
    Try building the payload with a PowerFX formula and make sure it correctly identifies the data type

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 177

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 130 Super User 2026 Season 1

#3
chiaraalina Profile Picture

chiaraalina 45 Super User 2026 Season 1

Last 30 days Overall leaderboard