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 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.

run script.PNG
Categories:
I have the same question (0)
  • creativeopinion Profile Picture
    10,508 Moderator 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.


    flujo.PNG
    csv.PNG

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 785

#2
Valantis Profile Picture

Valantis 669

#3
Haque Profile Picture

Haque 563

Last 30 days Overall leaderboard