Send a message when something happens to a consignment, for example when it is created, its carrier changes or a status is applied. The message can go to a Slack or Teams channel, to MachShip users as a notification, by email or by SMS.
Before you start
- You need the Company Automations permission at Create/Delete.
- For Slack, create an incoming webhook in Slack for the channel. Its URL decides the channel the messages go to.
- For Teams, create a workflow in Teams from the template Post to a channel when a webhook request is received, and copy its URL.
How to set up the trigger
- Go to Admin > Rules > Automations and click Create Automation.
- In Details, enter a Name and choose the Company.
In Trigger (Run this automation), choose When something happens and choose the event in When this happens:
- Consignment · Created, Tag · Applied or Attachment · Created.
- Consignment status · Applied. Choose statuses in Only these statuses, or leave it empty to run on any status change.
- Consignment · Edited. In Only when these fields change, tick at least one: Flagged As Important, Address Changed, Carrier / Service Changed or Items Changed.
- Optionally, add Filters to choose which consignments send a message.

How to send a Slack message
- In Action (Do this), choose Send a Slack message.
- Paste the Slack webhook URL.
- Write the Message. Type {{ to insert a value from the event, such as the consignment number or the carrier, from the Values you can insert list.
- Click Save.


How to send a Teams message
- In Action (Do this), choose Send a Teams message.
- Paste the Teams workflow URL.
- Write the Message, with values from the event as for Slack.
- Click Save.

Note: A Teams workflow belongs to the person who created it, and it stops if their account is removed. In Power Automate, add co-owners to the workflow so it keeps running. Your Teams administrator can block workflows, and posting to private channels may not work.
How to send a notification, email or SMS
- In Action (Do this), choose Send a notification.
Choose the Channel:
- MachShip notification: choose who to notify in Notify users, and enter a Title.
- Email: enter the Email recipients, separated by commas or semicolons, and a Subject. Everyone listed can see the other recipients. You can insert a value such as {{toEmail}} to email the receiver.
- SMS: choose the SMS sender name (only senders MachShip has verified for your company), and enter the Mobile numbers, separated by commas. Use Australian mobile numbers, or insert {{toPhone}} to text the receiver.
- Write the Message.
- Click Save.



Result
Each time the event happens to a matching consignment, the message is sent with the inserted values filled in. Check each run in View logs.
Things to know
- SMS messages are a paid service. Each SMS is charged at MachShip’s standard SMS rate. To find out more, contact your Account Manager.
- Everyone in the Slack or Teams channel sees the messages. To reach more people, add them to the channel. To post to another channel, create another automation with that channel's URL.
- A value with no data, for example a missing receiver email, is left empty in the message.
- Rarely, a message can be posted twice when MachShip retries a delivery.
- For Teams, a successful run means the workflow accepted the message. If the workflow is turned off or broken, the message may still not appear.
- Saved Slack and Teams URLs are hidden for security, and they are not copied when you duplicate the automation.