> For the complete documentation index, see [llms.txt](https://doc.duaer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.duaer.com/build/hubspot.md).

# Create or update a HubSpot contact in Duaer

In Duaer, HubSpot defaults to Authentication API Key, Resource Contact, and Operation Create or Update. Email is required. You need a hubspotApi credential.
## Upsert a contact by email

1. Create a hubspotApi credential (or switch to Service Key / hubspotAppToken, or OAuth2).
2. Search for HubSpot, connect it after the previous node, and select that credential.
3. Leave Resource on Contact and Operation on Create or Update.
4. Set Email. Optionally add name fields under Contact Properties.
5. Select Execute step. Matching email updates the contact; otherwise Duaer creates one.

Under Contact you also get Get, Get Many, Search, and Delete. Other resources include Company, Deal, and Ticket.

For tabular leads, see [Create an Airtable record in Duaer](/build/airtable.md). For generic APIs, see [Call an API with HTTP Request in Duaer](/build/http-request.md).
## Questions

### Which HubSpot Authentication options does Duaer offer?

Default is API Key (hubspotApi). You can also use Service Key (hubspotAppToken) or OAuth2 (hubspotOAuth2Api).

## Related

- [Create a Zendesk ticket in Duaer](https://doc.duaer.com/build/zendesk.md)
- [Create an Airtable record in Duaer](https://doc.duaer.com/build/airtable.md)
- [Create a Notion page in Duaer](https://doc.duaer.com/build/notion.md)

