Skip to main content

I must be missing something here so sorry if it’s something simple. But it appears I cannot send data to an API this way using the webhook action. Can someone help me understand what’s wrong with this? The error code is 422 and when I try this directly it works fine.

 

Hi @bsullinszap 

Good question.

Try using the Webhook Custom Request (POST) Zap action.

 


Here is the actual request I’m using to test

 

 


@bsullinszap

Try using the Webhook Custom Request (POST) Zap action.

 

Put this in the Body field.

{
"text": "here is some text to make into a voice",
"model_id": "eleven_monolingual_v1",
"voice_settings": {
"stability": 0.35,
"similarity boost": 0.81
}
}

 


Hi @bsullinszap 

Good question.

Try using the Webhook Custom Request (POST) Zap action.

 

That seems to work but now the question is how to create an mp3 file out of the response?

 

I tried using the google drive action but it created a text file with a bunch of stuff in it that isn’t just the audio

 

 


Hi @bsullinszap 

Good question.

Try using the Webhook Custom Request (POST) Zap action.

 

That seems to work but now the question is how to create an mp3 file out of the response?

 

I tried using the google drive action but it created a text file with a bunch of stuff in it that isn’t just the audio

 

 

Used your tutorial to create the file now, worked great!

 

 


Thanks Troy!