send email in field-level via SendGrid

Hi everyone, 

I'm trying  to figure out how to send email via SendGrid from Looker dimension (the way it is implemented here ).
the problem is that after I submit the form I receive the error: “The form was not accepted”. Any advice?

Thanks for your help

the error.pngmy dimension.png

 

Screenshot 2024-07-02 11.52.47 AM.png

0 3 552
3 REPLIES 3

Hello! Are there any allowlists set for data actions? If so, make sure the destination is included. It sounds to me like a data permissions issue.

Also, you may want to reset the API key shown in the second image for security purposes

@Emma_DocsThank you for your suggestion! That didn't solve my issue.

I did hide the API key that was shown

You need to make sure that SendGrid is able to actually handle the payload that it's receiving from the looker webhook. What service are you using to actually process the payload and send it to SendGrid? Are you trying to connect through Twilio or Zapier or something or making a direct API call to SendGrid - what is actually in that URL parameter? Right now you're basically just sending those parameters out there as a JSOn object but we need a server to translate them into the parameters that SendGrid needs to send an email. Zapier or Twilio might be good options for you if you're not using them already. 

Top Labels in this Space
Top Solution Authors