Getting Started
Follow this guide to get the Wrike Custom Connector set up in Power Automate.
Create a Custom Connector
In the Power Automate portal, navigate to Data > Custom connectors and create a new connector by selecting Import an OpenAPI file.
Import the Swagger File
First, give your connector a name you'll recognize, like "Wrike Custom." Click the WrikeAPI.swagger.yaml
link to open the raw file in your browser. Save the page to your computer (usually by right-clicking and selecting "Save As..."), and then upload it in the Power Automate wizard.
Configure Authentication
In the 2. Security section, you'll need to configure authentication. I recommend using OAuth 2.0 with the following settings:
- Identity Provider:
Generic Oauth 2
- Client ID: Enter your Client ID from your Wrike application.
- Client Secret: Enter your Client Secret from your Wrike application.
- Authorization URL:
https://login.wrike.com/oauth2/authorize/v4
- Token URL:
https://login.wrike.com/oauth2/token
- Refresh URL:
https://login.wrike.com/oauth2/token
- Scope: I recommend using
ws-read-write
, which provides general access.
If you need more details, the official Wrike documentation on OAuth 2.0 Authentication is a great resource.
Add the Custom Code
In the 4. Code section, enable the Code enabled option. Then, copy the entire content of the customcode.cs
file and paste it into the code editor. I've written the script so you don't need to change the default class name (`Script`).
Important: This code is specifically designed to handle the following operations: FolderBlueprintLaunchAsync
, GetFolder
, GetTasks
, ModifyTasks
, and TaskBlueprintLaunchAsync
.
Create and Test
Finally, click Create connector. Once it's created, I recommend going to the 5. Test section to run a few actions and ensure everything is working correctly.
Video Tutorial
For a visual guide, I've created a video tutorial that walks through the setup process. Please note that the video may be slightly out of date, but it provides a good overview.
Disclaimer: This is an independent, third-party connector developed to work with the public APIs of Wrike and Microsoft Power Automate. It is not affiliated with, endorsed, or supported by Wrike, Inc. or Microsoft Corporation.