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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Update/create new item...
Power Automate
Answered

Update/create new item in a Calendar List based on excel file

(0) ShareShare
ReportReport
Posted on by 7

Hi, I have an excel file  that I want to use to update or create a List only if a specific value matches (Class ID).

I've build a scheduled flow that runs once a day.

I got excel data with "List Rows", then I got list items with "Get items", and I compared the value "Class ID" using a Condition  (screenshots "Condition"). If condition is true the list should be updated with Update Items, if false I've no actions and then I terminate

In my test I've 3 rows in excel and 2 rows in the list, and I have only a Class ID match.

The flow runs successful, but the condition is not working and does not recognize the match (screenshot "Not Specified").

 

I've tried to add a compose to format as a string the Class ID in both the excel and the list and compare them, but I get the same issue. 

Can anyone help?

Categories:
I have the same question (0)
  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @Francesca2 ,

     

    Didn't know how you create your flow, but I made flow with different logic for your reference:

    vjefferni_0-1713250666514.png

    vjefferni_1-1713250795806.png

     

    Best regards,

  • Francesca2 Profile Picture
    7 on at

    Hi @v-jefferni , thanks for the help! I changed the logic and I was able to update the items in my list.

    Now I was thinking to add a branch or to create a separate flow to create new items that are in the excel file, but not in the list.  Do you think it's the right approach?

  • v-jefferni Profile Picture
    on at

    Hi @Francesca2 ,

     

    You can use create item action in the if no branch to add items in Excel table but not in the list to the list. 

     

    Best regards,

  • Francesca2 Profile Picture
    7 on at

    Hi @v-jefferni, I've used create item action in the if no branch, but the condition runs as true and the item is not created. Any other advice?

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard