Editorial Workflows

LCP Preset Messages 2.3.1

public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the 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: LCP Preset Messages by @jollypixel

(Updated for LCP 2.3.1)
This workflow creates Launch Center Pro action list of preset messages from selected lines in the editor (uses all text if no selection) and adds options to paste from clipboard or type new message.

Each line may contain TAB separated Label and Message.

It will search your Contacts for given name and present a list if more than one matching name or number.
Allows to save, copy to clipboard, email tappable link or install action in LCP.

Shared by: @jollypixel

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Selected Text ?
Entire Line(s)
OFF
Empty Selection Output
  • No Output
  • All Text
  • Closest Word
Folded Text
  • Include
  • Replace with:
Remove Whitespace ?
  • Trim leading/trailing whitespace
  • Remove empty lines
If… ?
Run the block if
Input
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Stop ?
Stop
  • This Workflow
  • Repeat Block
Show HUD Alert
OFF
Message
Stopped
…End If
Set Text Variable ?
Variable Name
Text
Value
Input
Set Name Variable ?
Variable Name
Name
Value
(This will be set by the "Build Output URL" script action)
Select Contact ?
Workflow
Can Stop Main Workflow
ON
Build OutputURL ?
Set OutputURL ?
Variable Name
OutputURL
Value
Input
Select Destination ?
Title
List (Lines)
Save Copy Email Install
Multiple Selection
OFF
Show in Popover
OFF
Set Destination ?
Variable Name
Destination
Value
Input
If Save... ?
Run the block if
Destination
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Save
Set FileName Variable ?
Variable Name
FileName
Value
Send to Name.md
Set File Contents ?
File Name
%var:FileName
In Dropbox
ON
New Text
Send preset or custom messages to Name. [Install in Launch Cener Pro](OutputURL)
If File Does Not Exist
  • Create
  • Stop Workflow
Show HUD ?
HUD Text
FileName Saved
Duration
  • 1 Second
  • 2 Seconds
  • 3 Seconds
Icon
  • "Success"
  • "Error"
...End If Save
If Copy... ?
Run the block if
Destination
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Copy
Generate Text ?
Text
OutputURL
Set Clipboard ?
Show HUD ?
HUD Text
Copied to Clipboard
Duration
  • 1 Second
  • 2 Seconds
  • 3 Seconds
Icon
  • "Success"
  • "Error"
...End If Copy
If Email... ?
Run the block if
Destination
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Email
Generate Text ?
Text
Send preset or custom messages to Name. [Install in Launch Cener Pro](OutputURL)
Convert Markdown ?
Markdown Extras: Footnotes
ON
…Auto-Links
ON
…Strikethrough (~~x~~)
ON
…Superscript (^x)
ON
…Tables
ON
…Smart Quotes etc.
ON
…Strip Metadata Headers
OFF
Compose Email ?
Recipient(s)
Subject
LCP action - preset messages to Name
Message Body
Input
Is HTML
ON
Full Screen
OFF
Stop if Canceled
ON
...End If Link
If Install... ?
Run the block if
Destination
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Install
Install in LCP ?
Open in
  • In-App Browser
  • Default App / Safari
URL
OutputURL
Tab
  • Last-used Tab
  • New Tab
  • Tab with ID:
Unique identifier
Wait until Loaded
OFF
Reveal Browser Automatically
ON
...End If Install