Editorial Workflows

Blinkflow

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: Generate new iTunes affiliate links using the Blink app by Squibner.
You'll be requested to enter the app's name (uses selected text, if there is any).
The result replaces selected text (if there is any) and is available in your clipboard.

*If you want to use campaign tokens, you need to delete the Find/Replace action that removes them.

Shared by: @devsl

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Request Text Input ?
Title
App Name
Initial Text
Selected Text
  • Single Line
  • Multiple Lines
Keyboard Options:
Set Variable ?
Variable Name
appname
Value
Input
Open x-callback URL ?
URL
blink://x-callback-url/search?q=appname
x-success
editorial://workflow-callback?link=[[link]]
Output
  • First Parameter of x-success URL
  • Raw x-success URL
Find / Replace ?
Find
^\[(.*)\]\((.*)\)$
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
[appname]($2 "$1")
Find / Replace ?
Find
?mt=8&uo=4
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
?mt=8
Find / Replace ?
Find
&ct=
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Create Affiliate Link ?
Variable Name
itunesurl
Value
Input
If Markdown Link ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
(
Replace Selected Text ?
Replacement Text
[appname%cursor]itunesurl
…End If
If Plain Link ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
(
Replace Selected Text ?
Replacement Text
[appname%cursor](itunesurl)
…End If
Generate Text ?
Text
itunesurl
Set Affiliate Link to Clipboard ?