Fetching emails once Person is added
I am now paying for Twenty Cloud and do appreciate the ease of use. I am trying to get a all emails from my gmail as soon as I add a new contact in - I'm using zapier. Here's the context:
My squarespace site is triggering a Zap that maps Squarespace -> Twenty (Create Custom Application object)
A second Zap triggers OnApplicationCreated and maps TwentyApplicationObject -> TwentyPersonObject so I can have a primary person
I want this new Person to have all emails with that email added to it. The Squarespace form sends me an email, so I would want it to show up in the activity tab.
The Application object is acting like the Opportunities tab for us. My best guess is that I need to map the relationshp between the Person and whatever associates the Gmail Cronjobs to an email. I don't really understand the relationship through the Docs so would love some guidance on how to get this working!
1 Reply
HI @Licardo7, sorry for the slow answer! As your are using the cloud, feel free to use the Support button on the cloud (bottom left corner)
it should work:
- Gmail sync detects a new email, it auto creates a new Person if it does not exist (this is what we call contact auto-creation). Person and Message are tied through the messageParticipants table
- your Zap is triggerd, created an application, looks for the existing person based on the email and associates your applicatoin to the person (you can create a one to Many relation between a Person and an Application in your Data model)