Lance Whitney explains how to use Shortcuts on iPhone and iPad to automate various actions.
After you set up a shortcut, just tap on it, and the app will run all the assigned tasks. The app can be run on your iPhone, iPad, iPod touch, and Apple Watch.
How does it work?
Shortcuts acts similarly to Apple’s Workflow app, which also allows you to create and run multiple tasks in a single action.
Good step-by-step. From PC Magazine.