Skip to content

Make

Any Make scenario can end with a Pocketbell notification, through the HTTP app’s Make a request module.

This uses an API Source.

  1. In the Pocketbell app, create a Source named Make, choose API, and copy its key.
  2. In your scenario, add HTTP → Make a request, and fill in:
    • URL: https://api.pocketbell.dev/v1/messages
    • Method: POST
    • Headers: Authorization with the value Bearer pb_live_…
    • Body content type: application/JSON
    • Body input method: Data structure. Add a data structure with three text fields, title, message and priority, and map values from earlier modules into them.
  3. Click Run once. The notification arrives, and the module’s output shows status code 202.
  • With a data structure, Make builds the JSON, so a mapped value with quotes or line breaks arrives as written. If you write the body as a JSON string instead, a quote in a mapped value breaks the request.
  • priority can be any of silent, quiet, normal, important and critical. For the Source’s default, leave the field out of the data structure: an empty priority is refused.
  • Map title and message only from values that are never empty: an empty one is refused too.