⚙ Operations Hub

ConnorMcM
Participante

Using Operations Hub to pull a first name from an email.

resolver

I was wondering if there was a way to pull a first (and maybe even a last name) from an email, as long as it uses a separator such as "_" or ".".

Would this be possible using the Format Data function or would I have to use the Custom Code function?

1 Solução aceita
jbogaert
Solução
Moderador da HubSpot
Moderador da HubSpot

Using Operations Hub to pull a first name from an email.

resolver

Hi @ConnorMcM,

 

I don't think this is something Format Data Actions can do as they are designed to reformat or clean up data. Could be an interesting use case to add. With custom code actions you should be able to get this done though. I found this thread on Stackoverflow that discusses how you can do it using JavaScript. 

Exibir solução no post original

2 Respostas 2
jbogaert
Solução
Moderador da HubSpot
Moderador da HubSpot

Using Operations Hub to pull a first name from an email.

resolver

Hi @ConnorMcM,

 

I don't think this is something Format Data Actions can do as they are designed to reformat or clean up data. Could be an interesting use case to add. With custom code actions you should be able to get this done though. I found this thread on Stackoverflow that discusses how you can do it using JavaScript. 

ConnorMcM
Participante

Using Operations Hub to pull a first name from an email.

resolver

Thanks!

It will give me a nice side project to work on!