Flow / Power Automate - Create an Automated Flow with Power Automate Tutorial

Discover how to create an automated cloud flow triggered by specific events, such as adding a file to a OneDrive folder. Learn to automatically generate a PDF version while preserving the original file, using Power Automate. Follow step-by-step instructions, set triggers, specify actions, control output formats, and receive notifications for successful conversions. Start creating your own automated flow now!

  • 03:28
  • 58 views

Objectifs :

This document aims to provide a comprehensive guide on establishing an automated cloud flow using Power Automate, specifically triggered by the addition of a file to a OneDrive folder. It outlines the steps to create a flow that converts a file to PDF format and notifies a team upon successful conversion.


Chapitres :

  1. Introduction to Automated Cloud Flows
    Automated cloud flows are powerful tools that allow users to automate repetitive tasks triggered by specific events. In this guide, we will explore how to set up a flow that automatically converts a file added to a OneDrive folder into a PDF format.
  2. Setting Up the Flow
    To begin, click the create button and select the 'Automated cloud flow' option. You will need to name your flow and specify the trigger, which is the action that initiates the process. In this case, the trigger will be 'When a file is created' in your OneDrive for Business space.
  3. Configuring the Trigger
    After selecting the trigger, set the path for the folder you want to monitor. For this example, we will use a folder named 'source'. This means that whenever a file is added to this folder, the flow will be activated.
  4. Chaining the PDF Conversion
    Once a file is created in the specified folder, the next step is to convert it to PDF. Choose the action 'Convert file' associated with OneDrive. You will need to identify the file to be converted using its unique identifier, which acts like a fingerprint for the file.
  5. Using Dynamic Elements
    To retrieve the unique file identifier, use the lightning bolt icon to access dynamic elements from previous steps in your flow. Control the output format by selecting PDF as the desired format for the conversion.
  6. Creating the Final PDF File
    After the conversion, you need to create the final PDF file. Choose the action 'Create file' and specify the target storage folder. Use dynamic elements to set the name of the PDF file, ensuring it matches the original file's name, and include the content generated from the conversion.
  7. Notifying the Team
    To finalize your flow, add a notification step to inform your team that the conversion was successful. Choose the action to publish a message in a Teams conversation. Set the flow bot parameter as the sender and specify yourself as the recipient. You can personalize the message with dynamic elements, such as the name of the converted document.
  8. Testing the Flow
    After saving your flow, test it manually by depositing a Word file into the specified folder. Be patient, as the execution time may vary based on the complexity of the document and the actions performed by the flow. Power Automate will inform you of the success of each step and the execution time.
  9. Verifying the Output
    Once the flow has executed, double-check to ensure that the PDF file is present in your target folder. Your flow should now be active and visible in the 'My flows' section, where you can modify, deactivate, or track its execution history.
  10. Conclusion
    In summary, creating an automated cloud flow to convert files to PDF format in OneDrive is a straightforward process. By following the outlined steps, you can streamline your workflow and enhance productivity through automation.

FAQ :

What is an automated cloud flow?

An automated cloud flow is a process that runs automatically in the cloud, triggered by specific events, allowing users to automate tasks without manual intervention.

How do I create a flow in Power Automate?

To create a flow in Power Automate, click the create button, select the automated cloud flow option, name your flow, specify the trigger, and define the actions to be taken when the trigger occurs.

What is the purpose of a trigger in a flow?

A trigger is an event that initiates the execution of a flow. For example, a flow can be triggered when a file is created in a specific OneDrive folder.

How can I convert a file to PDF using Power Automate?

To convert a file to PDF using Power Automate, you need to choose the 'convert file' action, specify the file to be converted using its unique identifier, and control the output format to PDF.

What are dynamic elements in a flow?

Dynamic elements are variables in a flow that can change based on the input or context, allowing for more flexible and personalized automation.

How do I receive notifications in Teams after a flow execution?

You can receive notifications in Teams by adding an action to publish a message in a conversation, specifying the sender and recipient, and personalizing the message with dynamic elements.


Quelques cas d'usages :

Automating Document Management

In a corporate environment, an automated cloud flow can be set up to convert all newly uploaded Word documents in a specific OneDrive folder into PDF format. This ensures that all documents are consistently formatted and easily shareable, improving document management efficiency.

Streamlining Team Notifications

A team can use Power Automate to notify members in Microsoft Teams whenever a new file is added to a shared OneDrive folder. This keeps everyone updated on important documents and enhances collaboration.

Efficient File Archiving

An organization can implement a flow that automatically converts and archives files uploaded to a designated OneDrive folder. This not only saves time but also ensures that all archived files are in a standard format, making retrieval easier.

Monitoring File Changes

A project manager can set up a flow to monitor changes in project files stored in OneDrive. When a file is updated, the flow can send a notification to the team, ensuring everyone is aware of the latest changes and can act accordingly.


Glossaire :

Automated Cloud Flow

A process that runs automatically in the cloud, triggered by specific events, allowing users to automate tasks without manual intervention.

OneDrive

A cloud storage service from Microsoft that allows users to store files and data online, accessible from any device.

PDF Conversion

The process of transforming a document into a Portable Document Format (PDF), which preserves the formatting and layout of the original document.

Trigger

An event that initiates the execution of a flow in automation, such as the creation of a file in a specified folder.

Dynamic Elements

Variables in a flow that can change based on the input or context, allowing for more flexible and personalized automation.

Unique File Identifier

A specific identifier assigned to each file that distinguishes it from others, even if the files share the same name.

Power Automate

A Microsoft service that allows users to create automated workflows between applications and services to synchronize files, get notifications, and collect data.

Teams Notification

A message sent within Microsoft Teams to inform users about specific events or updates, such as the successful conversion of a file.

00:00:08
For instance, when a file is added to a specific onedrive folder,
00:00:12
you can automatically create a PDF version of that
00:00:14
file in a target folder while preserving the original.
00:00:20
After clicking the create button and selecting the automated cloud flow option,
00:00:26
name your flow and specify the trigger,
00:00:30
which is the action associated with the application that
00:00:33
will start the process contained within your flow.
00:00:36
Here, it will be your professional onedrive space
00:00:39
onedrive for business associated with the action. When a file is created,
00:00:47
then click the trigger to set the path corresponding to the folder to be monitored.
00:00:51
Here, it will be the folder named source. For this example,
00:00:56
once a file is created or deposited in this folder,
00:00:59
your flow must be chained to the PDF conversion.
00:01:02
Choose the action convert file associated with onedrive by identifying
00:01:07
the file to be converted using its unique identifier.
00:01:10
A unique file identifier is like a fingerprint that uniquely
00:01:14
distinguishes each file even if they have the same name
00:01:18
to retrieve this information,
00:01:20
use the lightning bolt icon to retrieve information
00:01:23
related to the previous steps of your flow.
00:01:25
These are the dynamic elements,
00:01:27
control the output format. In this case, it will be PDF.
00:01:31
And there will be one important step left regarding
00:01:33
creating the final file based on your original converted file
00:01:38
still associated with your onedrive for business application.
00:01:41
Choose the action, create file
00:01:46
in the properties, specify the target storage folder. Again
00:01:51
using dynamic elements to specify the name of your PDF,
00:01:55
which here will have the same label as your original file and its content,
00:01:59
which will be the result generated by the PDF conversion.
00:02:02
In the previous step,
00:02:05
you can finalize your flow with a team's
00:02:07
notification indicating that the conversion was successful.
00:02:11
Choose the action to publish a message in a conversation associated with teams
00:02:17
to keep it simple. Leave the flow bot
00:02:19
parameter as the sender specify that the publication will be effective in your
00:02:24
conversations and do not forget to specify that you are the recipient,
00:02:29
then personalize the message by adding if you wish dynamic
00:02:33
elements such as the name of the concerned document,
00:02:36
save your flow and test it manually,
00:02:41
then deposit a word file to be converted into the folder specified in your flow.
00:02:46
Be patient. The execution time can be a bit long.
00:02:49
It depends on the type of action your flow generates as
00:02:52
well as the weight or complexity of the source document.
00:02:55
During execution power automate informs you of the success
00:02:59
of each step as well as the execution time.
00:03:01
Your flow executed successfully,
00:03:04
double check to ensure the PDF file is present in your target folder,
00:03:08
which should be the case here.
00:03:10
Your flow is now active and visible in my flows
00:03:14
in the three little dots menu.
00:03:16
You can modify it, deactivate it or track the execution history.
00:03:20
That is how to create a simple and functional automated flow.

No elements match your search in this video....
Do another search or back to content !

 

Mandarine AI: CE QUI POURRAIT VOUS INTÉRESSER

Reminder

Show