Josh Foreman
Joined
1,100 Experience
4 Lessons Completed
1 Question Solved
Activity
Posted in Any good idea how to import CSV via Sendgrid email attachment and update model/database columns.
Daniel I'm with Jack and recommend you use Griddler for inbound email. I currently use it to capture attachments on inbound emails and store them to S3.
Process the email, check for a filetype of CSV (or against name etc.) then process as a normal CSV import. Ruby supports this natively or you can use the smarter-csv gem.