- Home
- Skills
- Abdullahbeam
- Nexus Design Abdullah
- Hubspot Create Contact
hubspot-create-contact_skill
- Python
2
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill abdullahbeam/nexus-design-abdullah --skill hubspot-create-contact- SKILL.md1.9 KB
Overview
This skill creates a new contact record in HubSpot CRM from a simple command. It requires an email and accepts optional firstname, lastname, phone, and company fields. The skill validates configuration before running and returns the created contact ID and properties on success.
How this skill works
The skill runs a pre-flight configuration check to ensure HubSpot credentials and scopes are valid. It then calls the HubSpot Contacts API to create a contact with the provided fields and returns a JSON object containing the contact ID and properties. Errors such as authentication failures, missing scopes, duplicates, or rate limits are surfaced with clear codes and remedies.
When to use it
- Add a new lead or customer to HubSpot from a quick workflow
- Capture a contact from a chat, form, or intake process programmatically
- Create a minimal contact when only an email is available
- Include richer contact details when firstname, lastname, phone, or company are known
- Use as part of an automated onboarding sequence to populate CRM
Best practices
- Always run the pre-flight config check to confirm credentials and required scopes before creating contacts
- Provide firstname and lastname when possible to improve matching and segmentation
- Check for existing contacts by email first to avoid 409 duplicate errors
- Handle API rate limits (429) by implementing exponential backoff and retries
- Ensure the integration has crm.objects.contacts.write scope to prevent 403 errors
Example use cases
- Create a contact with only an email during a lightweight signup flow
- Create a full contact record after collecting name, phone, and company on a form
- Use within a bot to add leads captured in conversation to HubSpot CRM
- Run as a step in an onboarding script to seed new customer contacts into CRM
- Batch-create contacts by iterating over parsed input and invoking the skill per contact
FAQ
An email address is required; firstname, lastname, phone, and company are optional.
What do common error codes mean and how do I fix them?
401 means invalid token—re-run setup; 403 means missing crm.objects.contacts.write scope—grant the scope; 409 indicates the email already exists—search then update; 429 means rate limited—wait and retry with backoff.
How is the created contact returned?
On success the skill returns JSON with the contact id and a properties object containing fields such as email, firstname, lastname, and createdate.