automationtwiliosmsmmsmake.com

Sending Audio via Text using Twilio Connection in Make.com


I'm using Make.com (Zapier alternative) to automate the sending of a text.

Is there a way to send an audio file, actually playable in the text via Twilio using a tool like Zapier or Make.com?

I'm not much of a developer so using the API to send via PHP, Javascript or Python is a bit intimidating, would love to figure it out through a UI tool.

I have the audio file that I want to send via text uploaded to Google Drive (audio/mpeg).

I can send a link to the audio file just fine (Web View Link), but I'm hoping there is a way to actually embed the audio into the text message itself.

Using the "Media URL" throws an error showing "Invalid Content-Type". In Make.com, the Media URL looks like it can only be an image (gif,png,jpeg). enter image description hereenter image description here


Solution

  • This post might help: "Sending audio/wav file through Twilio MMS"

    Especially this part:

    In the MMS docs page

    If the content-type header of your MediaUrl does not match the media at that URL, Twilio will reject the request.

    Make sure you have set the correct content type.

    If it is Twilio returning the "Invalid Content-Type" error, it is likely from an incorrect or unspecified content type. I do not know how you specify a content-type with make.com and it could also be that that the audio file you are trying to send isn't actually an MP3 or a WAV.