What you'll learn
- Create a Power Automate flow with the Power Apps (V2) trigger
- Add the Zetaleap "Create Branded Short Link" action and map URL, alias and title
- Return the short link back to Power Apps and copy it in one click
- Inspect the run output (HTTP 201, code and short URL) in Power Automate
Chapters
- 00:00 Intro
- 00:15 Create a flow with the Power Apps (V2) trigger
- 00:29 Add the Zetaleap short link action & map the inputs
- 00:48 Return the result to Power Apps
- 00:58 Call the flow from Power Apps
- 01:11 Run it — create a branded short link
- 01:27 Verify the flow run output in Power Automate
- 01:43 Access note — how to activate Shorten URL
- 02:04 Need help or a custom solution?
Prerequisites
- A Zetaleap account and the Zetaleap connector in Power Automate — zetaleap.com
- Power Automate (instant cloud flow with the Power Apps (V2) trigger)
- A Power Apps canvas app
Step-by-step
1Create a flow with the Power Apps (V2) trigger
Create an instant cloud flow with the Power Apps (V2) trigger and add the text inputs your app will send.
2Add the Zetaleap short link action & map the inputs
Add a new step, search for Zetaleap and pick the action shown in the video. Map the trigger inputs to its fields.
3Return the result to Power Apps
Add Respond to a Power App or flow, create a Text output named result and set it to the Zetaleap action's Body. Save the flow.
4Call the flow from Power Apps
In Power Apps, add the flow from the Power Automate pane and call it from your button (formula below).
5Run it — create a branded short link
Play the app, enter the sample data and select the button — the result comes back from Zetaleap in seconds.
6Verify the flow run output in Power Automate
Open the run in Power Automate to check the Zetaleap action's output and the Respond payload.
7Access note — how to activate Shorten URL
This action must be activated for your Zetaleap workspace — contact support if it is not visible yet.
Power Apps formulas
UpdateContext({varResult: ParseJSON(ZetaleapShortLink.Run(Trim(txtUrl.Text), Lower(Substitute(Trim(txtAlias.Text), " ", "-")), txtLinkTitle.Text).result), varDone: true})