Received Email Webhook

Phwilson17
Member

Currently I have an integration setup that I am pretty sure is overly complicated for what I need. This involves Outlook emails, AWS, and HubSpot so this might not be the place to ask.

 

Emails are received in a shared outlook inbox. Every email has the same format and all needed information is within the html body. Every hour, an AWS Lambda (written in Python) pulls the last hour of emails and creates a list of formated JSONs which have necessary information like email, first name, last name, address, etc. This list is then iterated through and contacts are created for each list entry.

 

Is there a way to use the received email as a webhook and create a contact from its information as they appear rather than bunching together each hour?

 

I have tried looking into linking the inbox as a channel but since it is a shared inbox, it does not exist as a true Outlook user and I can not figure how to log in and connect that.

Any help in solving this or redirecting to another forum (AWS or Outlook?) would be appreciated.

0 Upvotes
1 Reply 1
Jaycee_Lewis
Thought Leader

Hey, @Phwilson17 👋 Thanks for the great question. It sounds like you've put a lot of thought into your set-up. I don't have a solution. I did a bit of research out of curiosity. A couple of thoughts:

  • I think your instinct to use webhooks makes sense to move from polling to a more real-time approach
  • Have you looked into the Microsoft Graph API? As a solution to the “shared inbox” problem?
  • I ask because the Outlook API guide utilizes the Graph API
  • If you get Outlook talking to your AWS setup successfully, make sure to consider ways to deal HubSpot's Rate Limits 

I hope you find a way to achieve your goal. Have fun building! — Jaycee

 





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes