Skip to main content
Question

How do I create a Zap to extract email address from a new Slack message and create a contact in HubSpot?

  • 5 February 2024
  • 3 replies
  • 47 views

Hey there, I am new to Zapoer and I am trying to build a Zap that finds a new Slack message in a defined Channel, then extracts the email address that is part of the message body, and potentially feeds it into a table, or directly into Hubspot, where a contact is created for this email address. I am struggling with finding the right Step, that extracts the email. 

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

3 replies

Userlevel 7
Badge +14

Hi @Philipp_Cello 

Try this Zap action: Formatter > Text > Extract Email Address

Many thanks @Troy Tessalone, that helped and worked for the email! I also have other elements of this text, besides the email. The format of the Slack message (sent via bot) would be the below, and I’d also need to extract the data points/texts in bold. 

"email":"test@test.com",

"productWebsite":"Test",

"role":"marketing",

"paymentPlatforms":["chargebee"],

"marketModel":"freemium",

"activeUsers":"less-than-1k"}

 

Based on the email address, I’d then want to create a hupsot contact, and map the data points to the according fields

 

Thanks in advance!

Userlevel 7
Badge +14

Hi @Philipp_Cello 

Resource for email parsing: