Hey all,
I am using Power Automate to take a request from a SharePoint list I have created (using it as a request form) and I have flows in place to create a file folder in a document library based on the information provided in the list. In this scenario, the 'Topic' entered into the list is what I want to be the name of the folder it creates for me.
I recently ran into a problem with the flow, however, relating to file folder names cannot end with a space, which is easy to accidentally do.
I need a way to take my 'Topic' input from the list, trim the whitespace/extra spaces from the end of the string and pass that over to the 'Create a Folder' action, to ensure the action doesn't fail due to invalid filename/syntax. I'm sure there's a way to code it, I just can't figure it out. (I've been using Power Animate for a week, not much coding experience)
Appreciative of any thoughts/ideas! Image below for reference in case my description doesn't make sense.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2