File Path: Manually enter the directory location where the files will be uploaded. When a Power Automate flow contains a SharePoint action, it requires environment-specific information that must be updated every time the flow is moved to a different Microsoft Dynamics 365 CRM (otherwise known as CE) solutions environment. In this Video, you will learn how to get dynamic path of desktop and Read/Write into Text file in Power Automate Desktop. File Identifier is the current attachment's id. You might even have figured out that the {FullPath} field contains the path to the folder holding the files that you are interested in. Press question mark to learn the rest of the keyboard shortcuts. ; Click the ellipsis and Settings. power automate create xml file. Today I tried to get all files in a folder in SharePoint library. May 28, 2019 Get file content by path, Get file content in Power Automate, Route did not match in Power Automate. After that, Power Automate will automatically fill in the path of that file. ; From the Actions panel, drag and drop the Get files in folder action into the workspace.Add a Folder path of your directory, from which you want to get the files. The new folder for the Form is created at the path as shown in the screenshot below. In this article, I will demonstrate how to get the CSV files Content in Power Automate, Parse the CSV using a little bit of 'TypeScript magic' using the 'Excel Run Script action' (yes you read it right - we are going to invoke code without a third party action . In this example, we will store our source PDF file in OneDrive folder, but you can get data from any other sources. The current Source of the folder Learn how to Combine files in a folder This is the better and efficient alternative of using "Apply to each" control to loop through the whole array.Since we cannot select from the Dynamics Values list in the Filter array step, use the following expression to specify the {FilenameWithExtension} property from the output. Power Automate - Create a link to file in SharePoint document library December 3, 2020 December 3, 2020 Geron Profet 2 Comments Recently I worked on a user requirement to create a link to a selected file in a SharePoint document library (in order to . Defined event maybe when a file is created in the local server folder. Add the path for the Destination folder and click on Save. For Logo use the "File Content" from the "Get logo file content" (Note: We are not using the "LogoUri" variable here). You sure can. Step 6, 7, and 8. So there is no need for the receiver to retrieve the image from SharePoint. The object has two . File System. In this blog post I will out line how Power Automate can be used to create a folder in a SharePoint document library and then store the link to the newly created folder inside of Microsoft Lists. Add keywords, along with the asterisk (*) wildcard character, and separate multiple terms with a . Search within r/PowerAutomateDesktop. It cannot know what the valid . They'll need to enter some course info which will be used as metadata on the uploaded file. 2.b. But when I tried to call the new column in Power Automate as the basis for logic on Power Automate using "Get Folder Metadata", the column just doesn't show. I had made a new column in "Site Pages" called "Archive" - Boolean. Add a single line of text column to the document library > give it a name (I called mine FolderPath) Under the ellipsis, press Automate > Power Automate > Create a flow. What you'll need is to use a Filter Query. We want the following sub-folders to be created automatically created each time a new Account folder is created: Proposals, Change Orders, Statement of Work (SOW) . I can literally copy/paste the passed String into my browser and up pops the file. Add a Write to CSV File Action. I am going to use 'Get file content' and fill in the following properties. For this thing, we will use the Power Automate or PowerApps Flow. Power Automate Exchange Please . Here I have created a folder called 'CSVs' and put the file 'RoutesDemo.csv' inside the CSVs folder. Connect to OneDrive to manage your files. Considering PowerApps file upload limit is 50 MB, Forms is a nice simplified alternative to consider when deciding which piece of software to use in different situations.Being able to get attachments from Microsoft Forms and upload to SharePoint automatically is a really . We have two options here for if a file exists then do nothing or overwrite it. In this demo, I have used the SharePoint action to get the image from SiteAssets library. Microsoft flow create xml file. The input can be defined as below, To get a list of all files in a specified folder, you can use the Get files in folder action. It'll come handy when you share your Query (Excel / Power BI file) and the source data with others, the file path will update automatically in their computer too. Whenever there's an output of any action, it'll be a JSON on the background. SQL statement: SELECT * FROM Files. I've already covered the "Get File Content" action in a previous post, but today I would like to focus on the "sister" action called "Get file content using the path." They look the same, but they are quite different, even if the end objective is to get the contents of a file. Keep in mind that the expressions are case sensitive and if it isn't working, double-check your paths. We have an Excel file, 01-dynamic-filepath.xlsx, that is getting data from a folder (dynamic-filepath) which contains two simple files. This is my solution to an Idea(Text (CSV) file - Get rows) requested by Power Automate community which have 500+ upvotes.. The return response is an array of BlobMetadata which contains the below properties. JSON is the basic data format used in Power Automate. Next, I am using the action List Folder which returns files contained in a SharePoint folder. However, some of the actions require the Base64 data type and some outputs return Base64 data type. Add a "Write to CSV file" action (Actions -> File) and configure the properties. If you hit the save button before changing the name of the Form, the folder will be created with the original name and then followed by the Question. Now lets go back to the Power Automate and add an action "Populate a Microsoft Word template" of "Word Online". Here are just a few of them: SharePoint. Steps to rename a file in SharePoint using Power Automate. Get file or image content) returns the value in Binary data type. In Power Automate, either use an existing, relevant template or start from blank. Get file content using path¶. Let's explore. In my previous blog post I outlined how Power Automate can be used to get responses from Microsoft Forms into Microsoft… OneDrive. Power Automate Cloud Flow (Standard licensing) Get Word document content. We are getting the path for files from the Demo3 folder. After fighting for a while with Power Automate and Excel, I wanted a fool-proof way to create a brand new Excel file without having to rely on a template somewhere to copy. Getting started with folder actions. This can be frustrating and cumbersome with solution management and it can easily be forgotten, creating unforeseen and undesirable issues. This method is much more reliable as the actual content from the image is sent within the email. Power Query transforms the files producing a usable query. For demo purpose, I had used the manual trigger but it can be automated based on the business requirement. Embed the image content directly into the email with Base64. Please let me know if in the comments if you get stuck or found this useful. Step 1: Create a Flow in Power Automate. My first thought was using the "SharePoint - Get file content" action within Power Automate to get the content of the word document. Step 1: We will get the path of the temporary Excel file from the main flow (in Power Automate) via command line arguments. and File content from the Get file content using path action. One of the first steps was a definition of the Source. See documentation. Please watch this video till the e. Basically, the solution is to use the Get files (properties only) action to get the list of files in the specific folder and filter the one with a matching filename to get the Unique Identifier. FTP Actions in Power Automate Desktop Move files from OneDrive to SharePoint (Out of box feature) Now, let us see how to move files from OneDrive to . Desktop flows are used to automate tasks on the Web or the desktop. In cell A1 of a worksheet, add the function: = INFO("directory") this will give you the current path. To get a list of all files in a specified folder, you can use the Get files in folderaction. Order by the Sub Folder Name that houses the file, ascending order." If you want to order files in Power Automate, the only option you have is to sort them directly in the 'Get files' action. For instance, if I create a folder named foo and I have a document in that folder foo/foo.doc , I want the URL of the folder foo . Get file content using path - Get the image as binary. Navigate to the document library you wish to show the folder path for. Well it is that easy that there are at least 3 methods of doing this. Because Power Automate uses a unique file ID to connect to a file; so with every new generation, Power Automate can't find the file anymore (even though it's there, with the exact same name etc, the file has a different ID) OneDrive. Working with File Contents and Files in Power Automate. Add File path to copy, you can also add multiple files path. Dropbox. ID is the item ID in question. However, I'm having a bit of trouble accessing those files from Power Automate. how to rename a file in SharePoint using Http request. Edit: So far, my attempt for this task can be seen in this Power Automate Flow . We have all files copied to the Demo2 folder. After configuring the action, click Save. The guide will show you, how you easily can copy/m. trying inserting a step earlier in the process that's a get file or similar action, then if that works, you should be able to take the GUID from that output and put it in the move file. In this blog post, we are going to learn how to trigger the Power Automate Flow on creating a file on an on-premises network and create a Dynamics 365 CE (Online) entity/table record and upload that local file to a newly created record. Once the export is complete you can take whatever action you want to with the file. Manipulate and organize folders with the Power Automate folders actions. I'll give you a fail-proof way to get the path. The first action is to get the image. Note that Power Query doesn't provide a built-in way to get the path for the current workbook, so another method is required. You can update the file content with the Update File action. RecycleBin object. Create the flow (.rtf to .doc) Create a new flow with the trigger When a file is created or modified (properties only) and select (or enter) your site and library name. Id (string) - The . The Title field / property of files in SharePoint document libraries is important for the search index, so it's a best practice to set the Title field manually or automatically by Power Automate flow for instance. You can then just click get data from range, and you will have the path as a query that you can use as a variable I would name the table or query something like varPath, and you might need to edit the path so that you have whatever part of the path you need to be dynamic. Anyway, Get File Content Using Path for the SP connector keeps saying my file isn't found, but it is, and I have fought with it enough and am breaking down to ask for help. Unfortunatly we will not get the content as plain text, but as an encoded string: Learn how to get dynamic path/ read and write text into/from text file in Power Automate Desktop. When the list of documents opens click Transform Data. Step 2. 2.a. At first you might try to do this using the following flow with a Get files (properties only) action. After a short wait, you will see PDF files in the destination directory. The best way to accomplish this is to use SP.RecycleBinItem object from SharePoint's Core Objects' Library . For example to email it you could do a Get File Content and an email action: This is a really fast, and easy way to export data from Power Automate to Excel. The Get special folder action retrieves the paths for commonly used directories which vary among different users and computers. Variable to write to: %QueryResult% (the variable from the "Execute SQL statement" action above) File path: set to a file on disk Having the trigger in Power Automate called "When a file is deleted" many asks if there is a possibility to restore that removed file or delete it permanently? 1. In the figure below, the desktop directory is retrieved and stored into a variable. Step 5: Get the attachment. However if you are trying to modify the content, that is well supported in Power Automate. I am not aware of a way to get Power Query to go: Only pull the right most text after the last period unless it is a Unix file name that has 2 periods in it, then pull the left 2. Get File ID by "Get files (properties only)" action After looking around in the web and I found the solution in the blog post by Pieter Veenstra . If this reply has answered your question or solved your issue, please mark this question as answered. You can perform various actions such as upload, update, get, and delete on files in OneDrive. SFTP. Copy and paste that, and you're always sure that you have the correct path :). We can use either 'Get file content' or 'Get file content using path'. This will automatically transform this action into repeating one which will be performed for each file from the source folder. Here I am uploading the file in my dev tenant OneDrive. Please watch this video till the e. September 6, 2020 September 6, 2020 priyeshwagh777 Power Automate cds connector, Power Automate, triggerBody, triggerOutputs Now, for all the newbies working with Common Data Service (Current Environment) connector face a little constraint in order to read certain fields which are NOT in the list of the Dynamic Content of the CDS connector itself. Therefore to get file content from a file must be something easy. You can view the post here . I found a solution, which i mention here in case someone else stumbles on your blog trying to do the same thing. You may also like the following articles: Power Automate Editor Update; Getting started with Power Automate Expressions; Learning Power Automate - part 1 Let me show you how. Automating the process of copying files from source to destination libraries in Sharepoint can be simplified by using Microsoft Power Automate.MS Power Autom. If you have a series of double.period file extensions, you would probably need to do a list of them and then use List.Contains. Prerequisites Click to enlarge How to auto-convert .rtf to .doc using Power Automate (Flow) Update 12/3/2020 (big thanks to Dawid Ziolkowski for the tip on trigger condition). If you used that in the Filter Query, you could search only for files that contain the specific folder in their path. Hope this helps Cheers Manuel Create the Flow. Step 6, 7, and 8. Add a OneDrive ' Get file content using path ' action. Upload file or image content) and its counterpart action (e.g. To create a Flow, Login to Power Automate, then click on Create and select instant cloud flow. NamePathTypeDescriptionItemId (integer) - The value that can be used to Get or Update file properties in libraries. Set the source and destination folder path and run your Power Automate desktop flow. Now we will see how to create a CSV file in Powerapps and store that file in a SharePoint Document Library. In this Video, you will learn how to get dynamic path of desktop and Read/Write into Text file in Power Automate Desktop. Microsoft Forms being able to upload and handle individual files of up to 1 GB is a really nice feature of the software. Using Power Automate you can automate tasks on the desktop as well as the Web. Note: The "Get file content using path" and "Apply to each - Add attachment" actions have updated from my original post to correct an issue where the content from multiple attachments was being duplicated. "I want to order the output of the Power Automate 'Get files' action to build an HTML table. Here, in the File filter" *" denotes "including all" this will include all the file paths present in . I think the file to move is actually looking for the files GUID not the file path. Input for "Apply to each" is the "Body" from the previous step. Step 6: Create a task action: - Group id is the Team in Teams that contains the Planner. It does exactly as advertised. Create Power Query objects to get file paths from cells in the current workbook. Google Drive. This video tutorial will show you, how to work with files and folders in Microsoft Power Automate Desktop. 2. See documentation. Every flow needs a trigger to start with so here I am using a manual trigger. This is how we can move documents from SharePoint to OneDrive.. Read Power Automate Increment Variable. Create a Power Automate desktop flow. The file content is retrieved with the "Get file content using path" step. Now provide the Flow name and select the trigger i.e. However it is needed to provide the content in a format Power Automate can recognize and handle. Repeat steps 1 to 8 in the ' Uploading Files provided in a Microsoft Forms response to a SharePoint Library ' section of this post. The Power Query Editor opens and shows some useful attributes: Create a new file in our destination library. You can filter files by using the File filter action. . Box. So, I have a form that will be used to collect Syllabus files from faculty. Using Power Automate means you need to create flows that trigger on created and modified files in the relevant document libraries and that is a challenge to manage by hand. Check the file path. On the PowerApps screen, Create a new flow (Action -> Power Automate -> + Create a new flow). Step 4: Action: Get file content using path from OneDrive for Business. Power Automate provides the files actions to automate managing files and manipulate their properties. (Oh, also, I tried Get File Content and it says the ID is invalid so, yep.. idonno .) In January 2020, I created a Flow in Power Automate to transcribe audio files to text using Azure Cognitive Services Batch Transcription service. Step 3. This is a really important concept to understand when working with files in Power Automate and Logic Apps. Alternatively, you can use the two legacy methods of creating desktop flows: Windows recorder (V1) and Selenium ID. Select Get items action and then provide site address, list name, and then click on Show advanced options and set Top count as 2. so it will retrieve 2 items. Power Automate will then automatically parse that JSON, and provide the values among the available dynamic content. Power Automate (Microsoft Flow) has a lot of connectors for different systems. List all the files in a folder (and sub-folders) In Excel, click Data -> Get Data-> From File -> From Folder. I have used this pattern numerous times for business processes where transactional metadata and document storage are required.… It was triggered on-demand and required whoever was running the Flow to specify the URL of the audio file in Blob storage. Save and Run the flow. Salesforce. File System. @Kristianpeterse Instead of using the "Get File using Path" can you try using "Get File Content" and pass the ID.. In the Folder window click Browse…, navigate to the folder then click OK. where Get file content using path is reading the excel sheets from sharepoint site; Initialize variable just creates a temp file name which will be used in creating blob in Azure blob storage; Create blob (v2) is to copy the file content and create the blob in . If you want to move or copy multiple files, then you can select multiple files from the library and click on the Move to or Copy to button and the rest steps will work as it is.. Choose the location of "File" where the template file was uploaded. 1. One of the available file properties is the path to the file. Subscribe to this blog for the latest updates about SharePoint Online, Power Automate (Microsoft Flow), Power Apps and document conversion and manipulation using The PDF Converter. Please watch my latest video on YouTube. Quick heads-up, this technique is meant for gathering data from files or folders in your computer. Step 4: Add attachment to SharePoint. Go to Power Automate using the URL ( https://flow.microsoft.com) or from the app launcher. I hope this article helped you to get started with using XPath in Power Automate. You can store your files anywhere. Create a temp Power Automate where you select manually the file that you want. SharePoint is all about document management. Next we need to get the file content. Press J to jump to the feed. The form automatically puts the file into a folder named after the form, several layers down in . Like all other Power Automate connectors, the Encodian connector for Microsoft Power Automate (Flowr) and Azure Logic Apps receives and sends files as Base64 encoded strings. In Power Automate, select the Manually triggered flow, then click on the Next step. So, we create custom Power Query objects to link to dynamic file paths and file names. Both the actions provide us the file content, the only difference is the values passed as an argument to the actions. Upload the file in OneDrive for business. Dynamic Folder Path in Excel Power Query. To download the file from Microsoft Power Automate Desktop, paste the URL of the file you want to download into the URL field, setting the "Method" as "GET', choose "Save to disk" for the save response, and adding the full path to the destination folder. The 'Get files…' action itself won't help you in such situation. Now, you need to add Get file content using path action to get source DOCX files contents.. Click File Path field and add there Folder Path and File name with extension from a menu on the right. For example, if I was copying a file from Folder Path: Master/01 Folder A/, is there an expression I can use to extract just the 01 Folder A part of the string to fill in the Destination Folder so when it ran, the Destination Folder would essentially show as /Drafts/%variable% and result in /Drafts/01 Folder A or if I ran the flow from Master . This is the step to get the particular JSON object from the array of files in the folder (specified in step 3). Yes it is. The problem arose after the first "re-generation" of the excel file. You can get file content via the action Get File Content. Step 1. From the Power Automate Screen, select New, the choose Instant-From Blank. Therefore, the first step in the process is to Get the Command Line Arguments. Pass in the Id from the Create item action. This action is used to get the file paths from any folder of your choice. I want to be able to pull a URL for the "containing folder" of a file I access via SharePoint using Power Automate. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. We are choosing Do nothing. Select a Common Data Service connector - When a record is created, updated or deleted. Let's start building Power Automate Flow. Get all the attachments; For each attachment, download the file content. When working with the input and output parameters for file content, you need to provide a value as Binary data type for most of the input parameters (e.g. Connect to File Systems on your local or network machines to read from and write to files using the On-Premises Data Gateway. Use the ID produced by the Create item action. 6: Create a Flow in Power Automate will automatically fill in the process is to use #. From SiteAssets library a record is created, updated or deleted Systems on local! Layers down in documents opens click transform data a specified folder, but you can tasks... Among the available dynamic content Screen, select new, the choose Instant-From.... Is created at the path as shown in the process is to use & # ;. Two options here for if a file exists then do nothing or overwrite it what you #. Browser and up power automate get file path the file in OneDrive upload file or image content ) returns the value Binary. Paste that, Power Automate will automatically fill in the path as shown in path. Provide us the file content using path & # x27 ; t working, double-check your.. The value that can be automated based on the Web step in path. Returns the value that can be frustrating and cumbersome with solution management and it the. Learn the rest of the first steps was a definition of the first steps was a of. For the receiver to retrieve the power automate get file path from SiteAssets library into repeating one which will uploaded. Have a form that will be uploaded Command Line Arguments solution, which I mention here case! ( e.g upload, update, Get, and provide the Flow to specify the of! Select a Common data Service connector - when a record is created, updated or deleted start blank. Automatically fill in the figure below, the choose Instant-From blank as shown in the for... A resolution via search alternatively, you can use the two legacy of! Few of them: SharePoint retrieves the paths for commonly used directories which vary among different and! On Create and select the trigger i.e wait, you will see files. V1 ) and its counterpart action ( e.g content with the Power Automate Increment variable the current attachment #... 3 methods of creating desktop flows: Windows recorder ( V1 ) and its counterpart action ( e.g are the... Well it is that easy that there are at least 3 methods of doing this a of. Comments if you are trying to do the same thing then click OK: Windows recorder V1! If a file exists then do nothing or overwrite it Login to Power Automate Screen, new! Recognize and handle properties in libraries ; and fill in the filter Query here are just a few them. To move is actually looking for the Destination folder and click on Save ( integer ) - the in. Is a really important concept to understand when working with files in Power Screen. A list of all files copied to the Demo2 folder special folder action retrieves the paths for commonly directories... Step 1: Create a task action: - Group ID is the path files. Flow in Power Automate can recognize and handle alternatively, power automate get file path will see PDF files folder... Is the path as shown in the process is to use a filter Query, can... That you want this will automatically fill in the screenshot below from write. Files contained in a format Power Automate ( Flow ) to Create a Flow in Power Automate and Logic.! 1: Create a Flow in Power Automate ( Flow ) to Create a task action -! Files copied to the actions ) wildcard character, and delete on files in OneDrive folder, you update! & # x27 ; ll power automate get file path to enter some course info which will be...., updated or deleted instant cloud Flow a really important concept to understand when working text. Triggered on-demand and required whoever was running the Flow name and select the i.e... File to move files from OneDrive to file that you have the correct path: ) and! Commonly used directories which vary among different users and computers JSON, and delete on files in Power Increment... The Team in Teams that contains the below properties this example, we will use the ID the. The folder window click Browse…, navigate to the file are trying to do this using the list... ; step I am uploading the file content using path & quot ; Get file content from a file be. Example, we will use the Get special folder action question or solved your issue, please this.... < /a > OneDrive but it can easily be forgotten, creating unforeseen and undesirable issues into my and. Folders actions Query objects to link to dynamic file paths and file content from a file in OneDrive move actually! Content with the update file action data type mark this question as answered in SharePoint Http! Flows are used to Get the image from SiteAssets library no need for the Destination folder and on. Action ( e.g the Flow name and select instant cloud Flow must be something easy SharePoint. Using Http request opens click transform data different users and computers specific folder in their path else on! Am going to power automate get file path & # x27 ; ll need to enter course. Require the Base64 data type Service connector - when a record is at! Well supported in Power Automate you can Get data from any other sources automatically fill in figure. Power Automate ( Flow ) to Create Sub-Folders in... < /a > Get file content from the Demo3.! Blog trying to modify the content in a SharePoint folder used directories which among... Was uploaded question as answered recognize and handle to the folder then click on Create and select trigger! Guide will show you, how you easily can copy/m for each from. Gathering data from files or folders in your computer can recognize and handle retrieve the is! Something easy the audio file in Blob storage in a SharePoint folder more... Only difference is the Team in Teams that power automate get file path the Planner Parse CSV using. The files GUID not the file path window click Browse…, navigate to the Demo2 folder course which! Case sensitive and if it isn & # x27 ; action if in the filter Query, you search. The only difference is the path as shown in the folder window click Browse…, navigate to the window... Have a form that will be used as metadata on the business requirement Flow! Select manually the file into a variable am using the On-Premises data Gateway > file! Down in be uploaded Out of box feature ) Now, let us how... That file creating desktop flows: Windows recorder ( V1 ) and Selenium ID retrieves! Can literally copy/paste the passed String into my browser and up pops the file this is how we move..., Login to Power Automate, either use an existing, relevant template or start from blank really concept! Used to Get the image from SiteAssets library which vary among different users and computers among different users and.... Relevant template or start from blank path action action list folder which returns files contained in a folder. Connector - when a record is created at the path for files from the image SharePoint! Of box feature ) Now, power automate get file path us see how to rename a file then. ) Now, let us see how to rename a file exists do! An existing, relevant template or start from blank this technique is meant for gathering data files! For the form is created, updated or deleted filter action URL ( https: //www.loganconsulting.com/blog/using-power-automate-flow-to-create-sub-folders-in-sharepoint/ '' > working files. Created, updated or deleted outputs return Base64 data type the receiver to retrieve image! Window click Browse…, navigate to the Demo2 folder to modify the content, the power automate get file path was. Files that contain the specific folder in their path content, that is well supported in Power Automate recognize! Also, I had used the SharePoint action to Get the image from SiteAssets library to OneDrive.. read Automate! First you might try to do this using the URL of the keyboard shortcuts Automate using the following properties named. Pops the file content using path action the image from SharePoint used as metadata on the uploaded file Line.! Get stuck or found this useful to link to dynamic file paths and file content with asterisk. The image from SharePoint to OneDrive.. read Power Automate where you select the. The Team in Teams that contains the Planner can copy/m Identifier is the path for files OneDrive... Correct path: ) first steps was a definition of the source folder of! Are at least 3 methods of creating desktop flows are used to collect Syllabus from! Special folder action retrieves the paths for commonly used directories which vary among different users and computers select a data! A temp Power Automate can recognize and handle Flow, Login to Power using!: - Group ID is the values among the available file power automate get file path libraries! Unforeseen and undesirable issues directories which vary among different users and computers in Blob storage but can! The only difference is the current attachment & # x27 ; Get file content & # x27 ; t,! Or found this useful ) Now, let us see how to rename a file must something... Dynamic content, the first steps was a definition of the keyboard shortcuts how... Nothing or overwrite it file that you have the correct path: ) course info which will used! For files from OneDrive to and paste that, Power Automate, then click OK and Logic Apps with. The first steps was a definition of the audio file in my dev tenant OneDrive to the... Files GUID not the file in OneDrive folder, but you can update the.. Use the two legacy methods of creating desktop flows: Windows recorder ( V1 ) and its counterpart action e.g!