hello everyone, I would like to know how to use Google tts with activepieces, because when I want to save the audio file via sftp, the .mp3 is not readable…
Thanks u for help me
Hi there @Mrbs, welcome to our community
Could you please show us your flow, or share it with us using the share button in your builder?
@Mrbs , I guess issue is SFTP step shows successful response but upload file is not readable. Please check out SFTP MP3 File Upload guide.
You should use File Helper piece with ‘Read File’ action and select output as base64.
The Text-to-Speech API specifies that the audioContent
is provided in Base64 string format. Therefore, you may not need to transform it to Base64 again. You can directly upload the MP3 file to SFTP using the linked guide.