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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to create Config F...
Power Automate
Answered

How to create Config File and How to Use it in PAD?

(1) ShareShare
ReportReport
Posted on by 43

Hi All,
Please could you Help me in
a. Creating a Config File using Excel , where we can store all the related info like Paths, variables, etc.
b. How to Use the Config file after created.

Please could you help me in advance as i am in need of same in my Project.
Much Appreciated your kind Help & Supports always…!!!

Thanks in Advance & Thanks Again…!!!

  • Shoaib
I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi Shoaib,

     

    Anything that you add on the Excel sheet can act as a Config file.

     

    Simply add two columns as Key Value pairs:

     

    SettingName SettingValue
    Path C:\Test\
    SendReportTo abc@email.com; xyz@email.com 
       

     

    Then in PAD, read this Excel file using Read from Excel worksheet which will return a Datatable of the above columns.

     

    Alternatively, you can also use Find cells in Excel worksheet to search for word "Path" (as in the above table) and return the value from its next column as C:\Test.

     

     

  • ViliBit Profile Picture
    127 on at

     

     

    Here an example of a flow for sending an email and saving parameters to a config files for later use:

     

    Here an flow exampleHere an flow example

     

    And this is an example of config file:

     

    How config file looksHow config file looks

     

     

     

  • Shoaib_PAD Profile Picture
    43 on at

    Thank you for your reply @VJR ,

     

    This is the way to read data from excel but my question is after reading excel file how to store the data into dictionary.

    if we are able to store the data into dictionary we can use anywhere in the project.

     

    Thank you,

    Shoaib 

     

  • VJR Profile Picture
    7,635 on at

    Hi @Shoaib_PAD,

    There is no dictionary in PAD.

    I have responded in the above post as to how to use it.

     

    Then in PAD, read this Excel file using Read from Excel worksheet which will return a Datatable of the above columns.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi I'm also indeed of this use-case.

  • PokalaDinesh Profile Picture
    2 on at

    Hi @Shoaib_PAD ,

     

    This could be a delayed revert for your post, But It would help some other aspirants who wants to achieve this use case.

     

    I recently read your post and attempted to create a workflow for your post in PAD, similar to Config Variable we use in UiPath RE-Framework.

     

    However, I was not able to find a direct action in PAD for creating a Dictionary object for our scenario. Nevertheless, I was able to achieve the same result by converting the Excel data table to a valid JSON file and then using the 'Convert JSON to Custom Object' action.

     

    To create a config dictionary, please follow these steps:

     

    1. Read the Excel file.
    2. Loop through the data to create a JSON-like string.
    3. Ensure that you replace the backslash symbol with double backslash ( \>\\ ) to avoid errors while accessing file paths.
    4. Drag and drop the 'Convert JSON to Custom Object' action, pass the previously created JSON text, and use the Output variable as 'config'. This can then be used as a config variable, similar to the UiPath RE-Framework.
    5. To access the data, use Config['Key'] to return the value associated with the key.

    Please check the below PAD screenshots with the steps I have used to achieve the same.

     

    Happy automation!

     

     

    Flow Dev screenshots in PAD : 

    dineshpokala_2-1677052974365.png

    Flow dev Screenshot 1

     

    dineshpokala_3-1677053004067.png

    Flow dev Screenshot 2

     

    dineshpokala_4-1677053045481.png

    Flow dev Screenshot 3

     

    Output Screenshots : 

    dineshpokala_5-1677054203233.png

    Screenshot Display message input screenshot

     

    dineshpokala_6-1677054377867.png

    Display message output screenshot.

     

  • Shoaib_PAD Profile Picture
    43 on at

    Hi @PokalaDinesh ,

     

    Thank you for your amazing work , I really appreciate your work.

    Could you please share the Excel file that you are using while creating flow?

    Happy Automation

     

    Thanks,

    Shoaib Ansari  

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Shoaib_PAD , 

    Please find the attached sample excel file.

  • Verified answer
    Shoaib_PAD Profile Picture
    43 on at

    Hi Everyone,

     

    Finally I have found the solution of How to read data from config file using MS Power Automate Desktop.

    Please Clink on Below Link to watch - How To Create & Read data from Config File Using MS Power Automate Desktop?

    https://youtu.be/UB_Vdq7eJso 

    If video is useful for you please do not Forget to subscribe the Channel 🙏

    Happy Automation 

    Thanks & Regards,

    Shoaib 

  • Raju_Rastougi Profile Picture
    6 on at

    Hello @Shoaib_PAD ,

     

    I appreciate your effort for creating content for this Topic. It is very helpful for me.

     

    Thank You,

    Raju

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 298 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 150 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

Last 30 days Overall leaderboard