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 / How to add script in t...
Power Automate
Unanswered

How to add script in the "Run Script" step?

(0) ShareShare
ReportReport
Posted on by 49

Hello everyone. I'm new to power automate and I'm encountering some issues with the Run script step. I'm trying to add a script in this step to create an excel from from a template. How am I supposed to add the script? I have it in a SharePoint folder as a script.txt, but I don't see options to include it.

Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @EvaSantos You need to add the script in Excel via the Automate tab.

    creativeopinion_0-1707067392453.png

    You might be interested in this YT Tutorial: ✌️TWO WAYS to Get Data from Excel into a SharePoint List

     

    There are two ways to get your data from Excel into a SharePoint List:

     

    1️⃣ Copy and paste

    2️⃣ Automatically with a Power Automate flow

     

    In this video tutorial I will show you how to get your Excel data into a SharePoint List using the two methods listed above. I’ll cover how to format your data for complex columns such as a multi-choice and multi-person columns.

    ---

    IN THIS VIDEO:

    How to copy and paste data from Excel into a SharePoint List

    How to format Excel data for multi-choice columns in a SharePoint List

    How to import data from Excel into a SharePoint List with a Power Automate Flow

    How to use the Select action in Power Automate

    How to use the Create Item action in Power Automate

    Enabling the Concurrency Control to Optimize Flow Performance

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution .
    Consider giving me a 👍 if you liked my response! If you're feeling generous— ️  Buy me a coffee: https://www.buymeacoffee.com/acreativeopinion

    👉Watch my tutorials on YouTube
    👉Tips and Tricks on TikTok
  • EvaSantos Profile Picture
    49 on at

    Lo siento, tal vez no me expliqué bien. No quiero exportar datos de un Excel a una lista, quiero crear un archivo de Excel basado en una plantilla. Como se muestra en este tutorial:
    🚀Power Apps, Exportar registros a Excel con Power Automate - YouTube
    El guión está aquí:
    https://learn.microsoft.com/es-es/office/dev/scripts/resources/samples/convert-csv
    Este es mi flujo hasta ahora. Por el momento, solo se generan archivos vacíos.


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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard