
Stop renaming invoices by hand. Let Copilot read each file, find the vendor name and invoice number, then rename serval file in minutes.

Before walking through easy steps to create Copilot Agent
Let’s have a little chitchat ! 😉
I’ve stopped writing my personal blog for quite a while because there have been so many things I needed to prioritize and focus on.
Now, I’d like to bring my motivation back by starting something fun, a small project called “You Raise, I Solve.” 🚀
You raise a question, problem, or challenge, and I’ll try to find a way to solve it. Let’s see where this little project takes us! 😂
🧩 What’s challenge here ?
My colleagues have struggled with scanned files received from client because many of them have not been properly renamed.

🧩 It’s time to challenge the challenge,
Previously, the files were renamed manually, which took more than an hour to complete. 🤯
What if we had a tool that could reduce time-consuming and repetitive manual work?
Where should I begin then ? 🤨
Ummm.. Let’s start small and make it simple.
🧩 Before looking for solutions, let’s start with the tools we already have.
🚀 Copilot Agent !! : No scripts, no regex, just a prompt.
💫 Let’s begin 💫
Open Copilot > Selecting Agent > New Agent

Look at text on top of chat box “Get support on everyday work”
“This is truly a strong advocate for us.” 😃
Using simple prompt
“Rename all uploaded PNF files using the format:
[Full Vendor Name]_[Invoice Number].[Original Extension]
Extract the full vendor name and invoice number from each file. Preserve the original file extension, remove invalid filename characters
Original file name will be saved in SharePoint, once PDFs uploaded to SharePoint folder the Agent will rename and provide Zip.file for downloaing”
Here are the results; multiple outcomes such as Instructions , Skills, Work content and Suggest prompts have been set up at once.


‼️Can you use it right away?‼️
Absolutely not ! – Take the time to understand every detail, purpose, and instruction. Revise, review and improve until your work until the structure is solid and ready to use.

Once your agent details are ready to use.
Click on “Create” button then . . . time to run the Agent ! 🚀
1.Save PDFs in your location either SharePoint or else where you have set it up.

2. Using suggest prompt to run the flow.

3. Waiting for them running results.
Boom 💥 2 minutes and 14 seconds has completed the tasks and detected the duplicated transaction.

This is the final result we achieved: the original random filenames have been transformed into meaningful filenames showing the vendor name and invoice number. 😉

~ Hope it can be one of beneficial blog that we help you reduce your time spending and less manual repetitive tasks.
The journey never end – New projects have begun, see ya ! 🖤
Leave a Reply