Actions8
Overview
This node interacts with the Faraz SMS REST API to perform various SMS-related operations. Specifically, the 'Get Credit' operation fetches the remaining account credit for the authenticated user. This node is useful for users who want to monitor their SMS account balance to ensure they have sufficient credit before sending messages. Practical examples include automated workflows that check credit before sending bulk SMS campaigns or alerts when credit is low.
Use Case Examples
- A marketing automation workflow that checks the SMS credit balance before launching a campaign.
- A monitoring system that triggers a notification when the SMS credit falls below a threshold.
Properties
| Name | Meaning |
|---|---|
| Operation | The specific action to perform with the Faraz SMS API, here set to 'Get Credit' to fetch remaining account credit. |
Output
JSON
credit- The remaining SMS credit balance returned from the Faraz SMS API.
Dependencies
- Faraz SMS REST API
- An API key credential for authentication
Troubleshooting
- Ensure the Faraz SMS API key credential is correctly configured and valid; missing or invalid keys will cause authentication errors.
- If the API returns an error, the node throws an error with details from the Faraz SMS API response; check the error message for HTTP status and message details.
- Network issues or incorrect API endpoint configuration can cause request failures; verify network connectivity and API URL.
Links
- Faraz SMS API Documentation - Official documentation for the Faraz SMS REST API endpoints and usage.