Right now I’m only using the update_person call…
However, I am looking at changing the parameters to the send_to_hubspot() function so I can just chain the results:
def update_person(%Person{} = person, attrs) do
person
|> Person.changeset(attrs)
|> Repo.update()
|> send_to_hubspot()
But I haven’t quite got that wired up yet.






















