Help

Re: Whats the best way to send a payload from a scripting block

Solved
Jump to Solution
1218 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Dominik_Fischer
5 - Automation Enthusiast
5 - Automation Enthusiast

Hey!

I’m trying to send an array of customer data to an API webhook on a external service (e.g. Sendgrid/Zapier), using a POST request in a scripting block.

Using the basic fetch() function, CORS is preventing it to work.

Using a CORS proxy like https://cors-anywhere.herokuapp.com/ isn’t an option because I don’t want to send sensitive data through this service.

What’s the best way to fix this?

Best

Dominik

1 Solution

Accepted Solutions
Erin_OHern
6 - Interface Innovator
6 - Interface Innovator

Hi Dominik,

Thanks for posting! We have a new feature currently in beta to solve this exact problem – you can read more and sign up at the link here!

Hope this helps :blush:

See Solution in Thread

2 Replies 2
Erin_OHern
6 - Interface Innovator
6 - Interface Innovator

Hi Dominik,

Thanks for posting! We have a new feature currently in beta to solve this exact problem – you can read more and sign up at the link here!

Hope this helps :blush:

Dominik_Fischer
5 - Automation Enthusiast
5 - Automation Enthusiast

Already did :slightly_smiling_face: Perfect timing! Thanks a lot!