Feature

Read and write contact addresses through the AI connector

AI assistants connected to Sure Send through the MCP connector can now work with contact addresses, so leads that arrive with an address no longer need the address typed into the web app by hand.

  • create_person accepts an address with street_address, street_address_2, city, state, postal_code, country and an optional address_type (home, mailing, work and so on; home if not given). It becomes the contact’s primary address.
  • update_person accepts the same address, which replaces the contact’s primary address and keeps any other addresses. To keep the current address and add another next to it, such as a mailing address, use add_addresses instead. An address the contact already has is not added twice.
  • A contact never ends up with the same address twice. If an update would create a duplicate, Sure Send keeps the copy that’s already on the contact, and the response’s notices explains what was done. The same goes for addresses add_addresses skips because the contact already has them.
  • get_person now returns every address on the contact, primary first. An address it returns can be edited and passed straight back: its id tells update_person which address to change, so editing a mailing address leaves the home address alone.

Bug Fixes

  • create_person, update_person and get_person used to answer success when they were sent a parameter they did not recognise, such as city or zip, and the value was silently dropped. They now return an error that names the unrecognised parameter and lists the accepted ones, and nothing is saved.