Hi @pbobyrev,
Do you want to check if the file name of the new created file contains 'Summary'?
Do you create your flow using the "Copy files from one SharePoint Online account or folder to another" built-in template?
I think there is something issue with the trigger within your flow. The File name dynamic content the "When a file is created" trigger returned is the base64 representation of the file name rather than the file name. The screenshot as below:
I have made a test on my side and please take a try with the following workaround:
- Add a "When a file is created (properties only)" trigger, specify Site Address and Library Name.
- Add a Condition, left input box set to File name with extension dynamic content of the trigger, right input box set to Summary, middle drop down, choose contains.
or you could click "Edit in advanced mode", type the following formula:
@contains(triggerBody()?['{FilenameWithExtension}'], 'Summary')
- Within "If/yes" branch of Condition, add a "Get file content" action, specify Site Address, File Identifier field set to Identifier dynamic content of the trigger.
Add a "Create file" action, specify Site Address (Another SharePoint Site) and Folder Path, File Name field set to File name with extension dynamic content of the trigger, File Content field set to File Content dynamic content of the "Get file content" action.
Image reference:
The flow works successfully as below:
Best regards,
Kris