Forum Academy Marketplace Showcase Pricing Features

SendGrid Inbound Parse

Hey @fayewatson, I know this thread is a bit old but I’m following the same set up and when I try to Detect Request Data, I get a popup that says “Trigger a request to” with a URL to copy. Did you copy and paste that in another browser? When I do that I’m getting a wrong error message stating that the method should be POST (screenshot below). Is there a way to workaround this?

Also, when I send the test email, how do I know it successfully sent?

Thanks!

Hi @johnny I haven’t set that up specifically before but I believe it would be possible! I remember having some trouble parsing the most recent message in an email thread that contained multiple replies. This may be easier than it used to be now in Zapier. Alternatively, it may be worth looking into Integromat for that purpose (instead of Zapier) since they seem to work well with SendGrid: https://www.integromat.com/en/integrations/gateway/sendgrid. I haven’t tried it before but it may be a bit easier! :slight_smile:

Hi @JP29 I think this is referring to the API Connector; is the API request for the Zapier webhook set to “GET”? If so, changing that to “POST” should fix the error. After setting it to POST, try clicking the ‘Request Data’ button again, and then send a test email. Within a minute, Bubble will recognize the request after the email is sent and let you modify the API workflow request types. That should work but let me know if not! :slight_smile:

1 Like

Thank you for the suggestion @fayewatson!

1 Like

Hey @fayewatson, thanks for the response! This is actually for setting up SendGrid, without Zapier. Here is my API endpoint in Bubble and the options I see:

1 Like

Ok, I figured out the issue. I was following the format of the “Destination URL” set up in Sendgrid in the screenshot posted above (modifying it for my app), but you have to set it to the one specified in the popup in Bubble after you click “Detect Data” which was a different format altogether.

Note: my app is setup using my own domain but in the Development view it uses bubbleapps.io for some reason. Not sure if I’ll have to change this URL for the live version? Just wanted to pull the parameters using Detect Data for now though.

You can also set this up manually using the parameters in Sendgrid’s documentation if all else fails.

Hope this helps anyone else that might run into this problem as well!

Bubble URL:

Sendgrid URL:
image

2 Likes

Hi @fayewatson, one more follow up : )

For the regex pattern, in the “reply-to” address, were you able to extract the Thread’s unique ID and add it to the new message thread on your app?

I’m using the format [email protected]. and for some reason nothing is extracting when I use the regex pattern /[^+]*/ (but I verified it works with a Regex Tester). Is there anything else I could be missing?

Also did you ever figure out how to extract only the Message’s text from the email and remove the quoted text from the email thread?

Thanks!
JP

I have been able to successfully grab the data when I select ‘detect data’ but it doesn’t show up in my DB after any other instance.

Hoping for some help!

@JP29 @johnny any suggestions??

Hey @cameron1,

I would help, but I stopped using Sendgrid about a year ago and don’t really remember anymore.

1 Like

No worries! :slight_smile: