cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
P_SA
Helper V
Helper V

Wrtie data into CDS using Power Automate

Hello, I am working with a flow which is triggered with a Power virtual agent. Below is snapshot of the flow. 

P_SA_0-1602654827232.png

in the initialise variable step, below is the output.

{
"text":"abc@abc.com",
"text_1":"12PM",
"text_2":"Banashankari"
}

 

I want to save this data into my CDS entity fields. Example below.

 

Email : abc@abc.com

Slot : 12PM

Location : Banashakari.

 

How can I achieve this?

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @P_SA 

 

What is the variable data type? Is it string or Object? Where are you getting the data from for the variable? 

 

If it is coming from the trigger, you can directly add a Create a Record action from the Common Data Service Current Environment connector and then select the entity and select the data for the fields from the dynamic selector itself. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hi @P_SA 

 

What is the variable data type? Is it string or Object? Where are you getting the data from for the variable? 

 

If it is coming from the trigger, you can directly add a Create a Record action from the Common Data Service Current Environment connector and then select the entity and select the data for the fields from the dynamic selector itself. 

 

Hope this Helps!

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Thanks @yashag2255  . I got this working...  Cheers

yashag2255
Dual Super User II
Dual Super User II

Hi @P_SA 

 

Glad that it is working. If this issue is resolved, please mark the response that helped you as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,866)