Hi,
I need to send SMS to my customers from n8n. The n8n node by Zoom does not support API calls for sending SMS. I found developers docs and did it with the following workaround.
- Registered a new app in zoom marketplace, noted the clientid, secret id
- Assigned permissions to the app
- Created a node which calls oauth/token with basic auth, passed client id and secret as user/password, I get the acccess token in response.
- Created another node which calls v2/phone/sms/messages with Authorization Bearer access token. In json body, I set the sender, to and message.
The above workflow is working and sending the SMS.
I have 2 questions.
- Is there any better way of sending SMS via API/n8n?
- It is taking 1.5 to 2 seconds for above 2 API calls. Am I doing it wrong? Does the time can be improved? Is there a way to get this done with just client id and secret, without getting the access token every time?