How I setup Sendgrid Inbound Parse

do you know how I can get attachments into bubble?

Did you manage to find a way to put the attachments in the db?

Hey, all just chiming in here. I managed to get SendGrid inbound parse to create files in Bubble but had to use Zapier to do a workaround with the multipart/form-data.

Sendgrid > Zapier > Bubble > Backend Workflow

Here’s the relevant screenshots:

First: SendGrid posts to Zapier, and then Zapier checks how many attachments the email has. (I wasn’t able to get this to work with more than 1 attachment)

Second: Zapier posts the data to an API in bubble

Third: In the Bubble backend workflow save the file to S3

And voila!

Please let me know if you can get more than one attachment to work.

PS don’t use the Zapier field for Files shown here, you’ll be passing multipart/form-data which Bubble cannot support.

I am posting an update to this really good original post. I could not get this to work for a long while, until I figured out a key step that wasn’t clear.

You need to CHECK the option “THIS ENDPOINT CAN BE RUN WITHOUT AUTHENTICATION”

The reason for this seems to be that Sendgrid doesn’t have the ability to send authentication to the endpoint from inbound parse.

To make the endpoint more secure. I added a new parameter called pass, then I checked “querystring” as the parameter type so it can be sent at the end of the url. I only run the workflow if pass = xyz. This enabled me to add a “?pass=xyz” to the url that sendgrid parses to as a simple authentication.

I hope this helps others, it’s working well now. I can send emails to the subdomain and they are going through and getting stored in bubble.

1 Like

I switched to Postmark this year.

Receive a Webhook → with a “parameter password” and matching server id and then call the API to GET a message through an API authenticated call using the message ID.

I love how you can create lots of different ‘servers’ : inboxes with the API too.

There are some other differences I noticed, but I haven’t looked at it in a while.