Quick overview
This workflow manually triggers an HTTP request to the OVHcloud SMS API, signing it with your OVH application credentials to send a transactional SMS to a specified phone number.
How it works
- Runs when you manually execute the workflow.
- Sets the OVHcloud API credentials, SMS service name, sender, and target API region.
- Defines the SMS recipient number and message text to send.
- Generates the OVHcloud request URL, JSON body, timestamp, and SHA1-based X-Ovh-Signature headers.
- Sends a POST request to the OVHcloud endpoint
/sms/{serviceName}/jobs to create an SMS sending job.
Setup
- Create OVHcloud API application credentials (Application Key and Application Secret) and a Consumer Key with SMS permissions.
- Replace the placeholder values for
APPLICATION_KEY, APPLICATION_SECRET, CONSUMER_KEY, SMS_SERVICE_NAME, SMS_SENDER, and OVH_REGION.
- Update the
receiver (E.164 format) and message fields with the SMS details you want to send, and ensure your OVHcloud SMS account has available credits.
Requirements
- OVH account
- SMS credits (API account)