Skip to main content

4. Receiving Email when a spare part falls below the minimum threshold

Problem

Be notified by email each time a spare part's stock falls below the minimum threshold.

Setup

  • We use the no-code platform Zapier for this integration.
  • You can also use another no-code tool based on a “trigger → action” model, such as Make.
  • If you follow this tutorial:
    • Please create an account on Zapier to perform the integration.
    • Use an admin Mobility Work account to add the webhook.

Steps 1 : create the Zap

Create a zap

alt text

Chose webhook for trigger

alt text

alt text

Chose catch hook event

alt text

Go to the test step to get the listener URL, and copy it.

alt text

Steps 2 : add a WebHook on Mobility Work

On network setting

alt text

Use to integration tab

alt text

Add a new WebHook

  • set Zapier URL listener on URL field
  • set “when a spare part fails below the minium stock” on Trigger field

alt text

Steps 3 : test the listener

Use a spare part that Amount is higer than Minimum stock

alt text

Changea amount to be lower than Minimum stock to trigger the WebHook

alt text

alt text

  • The trigger will send a webhook to your Zapier listener.
  • Your field mapping between Zapier and Mobility Work is correctly set up.

alt text

Add gmail component

alt text

Chose event “send eMail”

alt text

Connect to your gmail account

alt text

Set fiel in action part

alt text

Use variable (from webhook) to complete Subject and Body

alt text

alt text

It’s finish you will test your zap

alt text

Steps 4 : test

Scenario for testing

  • Create a spare part who amount is higher than min stock

alt text

Decrease stock to value lower than min stock to trigger the webhook

alt text

alt text

The result

alt text