Google tts, need help

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 :star2:

Could you please show us your flow, or share it with us using the share button in your builder?

You could do it from the flows table:

Or in the builder itself:

Hello, sry i can’t share my pieces, i have Activepieces in autohosted



@Mrbs , I guess issue is SFTP step shows successful response but upload file is not readable. Please check out SFTP MP3 File Upload guide.

Hello, i would like to use base64 but he say me:

You should use File Helper piece with ‘Read File’ action and select output as base64.

Yes i test this

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.

My .mp3 are corrupted, i can’t open mp3 for listen this.

And i don’t have: “add a npm package” in code section…