This workflow leverages both the external source instruction and the shorten URL action to enhance the process of sending out WhatsApp messages.
Workflow Configuration
Trigger Setup: The workflow initiates with a default transition from the trigger to the external source instruction. This setup ensures that the workflow is activated as soon as we receive the trigger from the source.
Using External Source Instruction: After the trigger, the workflow progresses to the external source instruction. This component is crucial as it serves as a junction where multiple actions can be triggered.
Conditional Transitions to Shorten URLs: From the external source instruction, conditional transitions are set up to lead to the shorten URL actions. This step is only required when there is a URL in the message content that needs shortening, optimising the message format for the WhatsApp message.
Shortening URLs: The shorten URL action takes the long URL provided and converts it into a shorter, more manageable URL. This not only helps in keeping the message succinct but also addresses any potential issues with URL length in messages.
Sending WhatsApp Messages: Following the URL shortening, default transitions are employed from the shorten URL actions to the send WhatsApp actions. This final step in the workflow dispatches the prepared messages to the intended recipients via WhatsApp
Below is the workflow in the Automator
Below show the examples of the trigger, actions and transitions
In this workflow, our trigger is coming from an external source
Below is the External Source Instruction
These are the conditional transitions that have been used between the external source instruction action and 3 Shorten URL actions and a WhatsApp action.
Example of one of the Send WhatsApp action details show below