Platforms
Make
Confirm customers' numbers in Make scenarios with the built-in HTTP and Webhooks modules.
Status: there is no OTP.ps app in Make yet. Everything below uses Make's built-in modules and works today. It follows Make's documented modules, but OTP.ps hasn't run these scenarios inside Make itself.
Scenario 1: when an order comes in
Shopify → Watch Orders (or WooCommerce → Watch Orders), with a filter: payment is cash on delivery.
HTTP → Make an API Key Auth request. Put your OTP.ps key in a keychain: "In" = Header, name
Authorization, keyBearer otp_live_…(keychains keep it out of the scenario).- URL:
https://otp.ps/api/v1/verify/links, method POST, body type Raw, content type JSON:
{ "phone": "{{1.phone}}", "purpose": "order", "reference": "{{1.name}}", "delivery": "sms" }- Header
Idempotency-Key: the order id, so a retried run never texts twice.
- URL:
Shopify → Add tag
awaiting-phone-confirmation.
Scenario 2: when the customer confirms
- Webhooks → Custom webhook. Copy its address and add it on the OTP.ps dashboard (Webhooks, event
link.approved, live links). - HTTP → Make an API Key Auth request,
GET https://otp.ps/api/v1/verify/links/{{1.data.id}}with the same keychain. Continue only ifstatus=approved. This checks the event really came from OTP.ps; anyone who learned the webhook address could post to it. - Shopify → Search orders by name =
{{1.data.reference}}, then Update order / Add tagphone-confirmed.
Notes
- With a test key, use the sandbox numbers; nothing is sent.
- Make retries failed operations: the
Idempotency-Keyheader keeps a retry from texting the customer twice.