-
Notifications
You must be signed in to change notification settings - Fork 35
Description
Is your feature request related to a problem? Please describe.
I'm looking to set up some automations for bulk upserting contacts. I need to get contacts from multiple data sources, map them to my contacts and upsert them to hubspot. Hubspot currently supports this in their api
Describe the solution you'd like
I was hoping for something like this
`req := []*hubspot.Contact{
{
Email: hubspot.NewString("contact1@example.com"),
FirstName: hubspot.NewString("John"),
LastName: hubspot.NewString("Doe"),
},
{
Email: hubspot.NewString("contact2@example.com"),
FirstName: hubspot.NewString("Jane"),
LastName: hubspot.NewString("Smith"),
},
}
// Call create contact api.
res, err := client.CRM.Contact.Upsert(req)`
Describe alternatives you've considered
I'm currently exploring alternatives. Based on the current implementation of this package I think its possible to implement this in my code by defining a custom contact and creating my own implementation of upsert.
Additional context
I was wondering if this package is still being maintained. I could try implementing on my own and raising a pr. I need this functionality for a project im working on. The project requirements will grow in the coming months and I can make future contributions as I find gaps.