workflows.fit
Back to n8n workflows
n8n templateFreeBy Davide Boizza

Send voice calls in seconds: Automate Text-To-Speech using ClickSend API

This workflow automates the process of sending text-to-speech (TTS) voice calls using API. It allows users to submit a form with the message content, recipient's phone number, voice type, and language, and then sends ...

DevelopmentCore NodesSticky NoteHttp RequestForm Trigger
Loading interactive preview...

Template notes

This workflow automates the process of sending text-to-speech (TTS) voice calls using API. It allows users to submit a form with the message content, recipient's phone number, voice type, and language, and then sends a voice call with the provided text.

This workflow is a simple yet powerful way to automate text-to-speech voice calls using API. It’s ideal for notifications, reminders, or any scenario where voice communication is needed.

Below is a breakdown of the workflow:

---

1. How It Works The workflow is designed to send voice calls with text-to-speech functionality. Here's how it works:

1. Form Submission: - The workflow starts with a Form Trigger node, where users submit a form with the following fields: - Body: The text message to be converted to speech (max 600 characters). - To: The recipient's phone number (including the international prefix, e.g., +39xxxxxxxxxx). - Voice: The voice type (male or female). - Lang: The language for the voice call (e.g., en-us, it-it, fr-fr, etc.). - Once the form is submitted, the workflow is triggered.

2. Send Voice Call: - The Send Voice node sends a POST request to the ClickSend API (https://rest.clicksend.com/v3/voice/send). - The request includes: - The text message (Body) to be converted to speech. - The recipient's phone number (To). - The voice type (Voice). - The language (Lang). - Machine detection is enabled to detect if the call is answered by a machine. - The API processes the request and initiates a voice call to the specified number, where the text is read aloud by the selected voice.

3. Outcome: - The recipient receives a voice call, and the submitted text is read aloud in the chosen voice and language.