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 / Can "Dynamically fill ...
Copilot Studio
Suggested Answer

Can "Dynamically fill with AI" handle null values?

(0) ShareShare
ReportReport
Posted on by 32
I am building an AI Agent that uses the Salesforce Create Record connector.
For a Salesforce entity, there is an optional field and I want the AI to provide the value like:
 
Prior to making this connector call, my AI Agent instructions compute the Persona value (when it applies).

When I try to create the Salesforce record, the agent is prompting me for the Persona value.
But in this particular case, it does not apply, so the value is null.
Even if I tell the AI that Persona is null, it keeps prompting me for a value.
Eventually it gives up and tries to Escalate.

The Salesforce Create Record connector explicitly mentions that it can "allow null values."
Why can't the AI simply provide a null value and be done with it?

What am I missing?
I have the same question (0)
  • Suggested answer
    chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
    Hi
     
    I believe this is a Copilot Studio limitation/behavior with “Dynamically fill with AI”, not a Salesforce one. When a field is set to Dynamically fill with AI, Copilot tries to always provide a value. If it can’t, it will ask the user. The text “null” is usually not treated as a real null value, so Copilot keeps asking and asking.
     
    Maybe you could try to use Custom value with PowerFx instead  to determine whether the Persona field is needed or not. Something like: If(isPersona, varPersona, Blank())

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 277

#2
11manish Profile Picture

11manish 206

#3
sannavajjala87 Profile Picture

sannavajjala87 156 Super User 2026 Season 1

Last 30 days Overall leaderboard