Editorial Workflows

How to Create a Workflow

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: This is a tutorial on the process I use to make a workflow.

It also includes an example workflow.

- Tutorial Doctor

Shared by: Tutorial Doctor

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Markdown Help ?
Variable Name
mkd_help
Value
# Workflow Etiquette <hr> I have created almost 90 custom workflows for Editorial, and have downloaded quite a few also, There is a certain etiquette I have developed: ## I make sure the workflow is <u>useful</u><hr> Workflows with one specific use might not appeal to many people, though it might be useful to you. Making a workflow that is customizable will yield better usability. ## I make sure the workflow is <u>easy to use</u><hr> If the workflow requires a tedious setup, the chances of me keeping it are slim. If there is a setup required, I set it up myself. Or I use my [Help](http://editorial-app.appspot.com/workflow/5281847030317056/YyoAremKAh0) workflow to create a help page for how to set up the workflow. ## I make sure the workflow <u>works well</u><hr> I test my workflow to make sure it works as described (I am sure to add a good description of my workflow), or that it works at all. >*Tutorial Doctor*
Store Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
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
Set Variable ?
Variable Name
help
Value
Input
…End If
Show Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Custom UI ?
User Interface
Presentation Style
  • Sheet
  • Full-Screen
  • Popover
Output
Use Editor Theme
ON
…End If
…End If
Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Markdown Help ?
Variable Name
mkd_help
Value
# My Process <hr> 1. First, I write a description of what I want the workflow to do. 2. Next, I note all nouns in the description (usually nouns can be translated to variables) and write them down 3. I then note all of the actions in the description (functions are actions) and write them down 4. Now, I create the nouns as variables. 5. I then sift through the included actions (and through the workflow directory) to see if I can find any actions that do what I need. If not, I will have to either make a Custom Action, or type a Python Script (this is more advanced). *Note:* Throughout the process I may use a "Show Hud Alert" action to test the output of certain actions. # Example <hr> I want a workflow that filters out all of the letters "a" in the current document and outputs the resulting text. ## Nouns: - "a" - resulting text - current document ## Actions: - filter - output Tap the "Continue button to see the workflow in action! >*Tutorial Doctor*
Store Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
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
Set Variable ?
Variable Name
help
Value
Input
…End If
Show Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Custom UI ?
User Interface
Presentation Style
  • Sheet
  • Full-Screen
  • Popover
Output
Use Editor Theme
ON
…End If
…End If
Text to Remove... ?
Variable Name
removed_text
Value
a
Document Text ?
Folded Text
  • Include
  • Replace with:
Store Document Text ?
Variable Name
doc_text
Value
Input
Remove Text ?
Find
removed_text
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
Store Resulting Text ?
Variable Name
resulting_text
Value
Input
Output Resulting Text ?
User Interface
Presentation Style
  • Sheet
  • Full-Screen
  • Popover
Output
Use Editor Theme
ON
Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Markdown Help ?
Variable Name
mkd_help
Value
# Conclusion Changing the value of the "removed text" variable, will yield a different output. Also, remember to label your actions with descriptive titles of their purpose. This will help people understand how your workflow works, and better help them customize it to their liking. Sometimes I run into difficult problems. I do a little brain-storming about possible ways to accomplish the task (using "Hud Alert" to test things along the way). Sometimes I have to do a google search. Perhaps I will post in the forums. I keep a taskpaper list of workflow ideas and I use the "Archive @done" workflow from the directory to archive those completed workflow ideas. > Take Care, >*Tutorial Doctor*
Store Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
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
Set Variable ?
Variable Name
help
Value
Input
…End If
Show Help ?
Run the block if
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Custom UI ?
User Interface
Presentation Style
  • Sheet
  • Full-Screen
  • Popover
Output
Use Editor Theme
ON
…End If
…End If
Show HUD ?
HUD Text
THE END
Duration
  • 1 Second
  • 2 Seconds
  • 3 Seconds
Icon
  • "Success"
  • "Error"