Connectors

/

HubSpot

/

Log a call, email or meeting in HubSpot
Write

Log calls, emails and meetings in HubSpot in one sentence

For sales reps who want offline conversations on the HubSpot timeline, linked to the right contact, company and deal, by telling their AI assistant.

Try PopdockAI free
Get a live demo
Log a call, email or meeting in HubSpot
Log a call with dana@northwindtraders.com today. She agreed to a pilot starting in January and wants pricing by Friday.
I found Dana Whitfield at Northwind Traders and one open deal, Northwind pilot. - Type: call, outbound, completed, 2026-10-30 - Title: She agreed to a pilot starting in January and wants pricing by Friday. - Linked to: Dana Whitfield, Northwind Traders, Northwind pilot Shall I log it?
HubSpot
Sample figures. Your results come from your own account.
hubspot-get-contacts
hubspot-get-deals
hubspot-get-calls
hubspot-get-emails
hubspot-get-meetings
hubspot-add-call
hubspot-add-email
hubspot-add-meeting

On this page

The problem

The problem

The prompt

Who it's for

How it works

Tools used

Connector

HubSpot

HubSpot
Run it on your own HubSpot data.

Connect HubSpot, pick your AI tool and paste the prompt.

Try PopdockAI free

The problem

Conversations outside HubSpot never reach the timeline

Calls on a mobile phone, emails from another inbox and meetings outside the calendar never reach HubSpot unless someone logs them. Logging means finding the contact, company and right open deal and checking it is not there already, so most of it is skipped.

Without PopdockAI

  • Find the contact and their company
  • Work out which open deal it belongs to
  • Check the interaction is not already logged
  • Skip it because it takes too long

With PopdockAI

  • The one matching contact and their company are found
  • An open deal is proposed, or you choose if there are several
  • Duplicates logged the same day are caught
  • You review the entry and links before anything is logged

The prompt

Use this prompt

Copy it into any AI tool connected to PopdockAI. Swap the values in braces for your own.

Prompt
**Objective:** Log a `{interaction-type}` (call, email or meeting; default call) with the contact `{contact-email}`, summarised as `{summary}`, dated `{date}` (default today).

**Step 1: Resolve the contact**

Call `hubspot-get-contacts` with `email` = `{contact-email}`. If none match, retry with `email.contains`. If none or several match, list them and stop. Keep the contact's `record-id` and `company-id`.

**Step 2: Find an open deal to link**

If the contact has a `company-id`, call `hubspot-get-deals` with `company-id` = it. Ignore deals whose `deal-stage-name` reads as closed won or closed lost. If exactly one open deal remains, propose linking it; if several remain, list them and ask which one, or none.

**Step 3: Check for a duplicate**

Look for the same interaction already logged on `{date}`:
* call: `hubspot-get-calls` with `contact-id` and `activity-date.from` / `activity-date.to` = `{date}`
* email: `hubspot-get-emails` with `contact-id` and the same date range
* meeting: `hubspot-get-meetings` with `contact-id` and `meeting-start-time.from` / `meeting-start-time.to` = `{date}`

If one with a matching title or subject exists, show it and ask whether to continue.

**Step 4: Confirm**

Show the type, date, title or subject (the first sentence of `{summary}`, at most 80 characters), body (`{summary}`), and the contact, company and deal IDs it will be associated with. Wait for an explicit yes.

**Step 5: Write**

Call exactly one of these, once:
* call: `hubspot-add-call` with `title`, `body`, `timestamp` = `{date}`, `direction` = OUTBOUND unless the summary says the customer called, `status` = COMPLETED
* email: `hubspot-add-email` with `subject`, `body`, `timestamp` = `{date}`, `direction` = EMAIL unless the summary says the customer wrote in (then INCOMING_EMAIL), `status` = SENT, `to-email` = `{contact-email}`
* meeting: `hubspot-add-meeting` with `title`, `body`, `timestamp`, `start-time` and `end-time` = `{date}`, `outcome` = COMPLETED

Always pass `contact-ids`, plus `company-ids` and `deal-ids` when resolved.

**Step 6: Report**

Give the new record's ID and what it was linked to. Offer to create a follow-up task with the create-follow-up-tasks prompt; do not create one yourself.

**Rules & Guidelines:**

* Only the one tool in Step 5 may write, once, after the confirmation in Step 4.
* Do NOT call any other write tool: no other hubspot-add, hubspot-update, hubspot-rename, hubspot-remove, hubspot-subscribe, hubspot-unsubscribe or hubspot-import tool.
* Do not set `owner-id` unless the user gives a numeric HubSpot owner ID. No tool maps a person's name to an owner ID.
* Logging an email does not send it. Say so if the user seems to expect delivery.

**Validation:**

* If `{interaction-type}` is not call, email or meeting, ask which it is and stop.
* If `{date}` is not a date, ask for one in ISO form (2026-03-01) and stop.

Who it's for

One answer, three teams that use it

Account executives

Log calls from your mobile in a sentence

Record a call you made on the move, linked to the contact, company and deal, without opening HubSpot.

Log a call with priya@contoso.com today. She confirmed budget for Q1 and wants a demo next week.

Customer success managers

Keep the account history complete

Meetings and emails that happened elsewhere land on the timeline, so the next person has the full story.

Log a meeting with tom.reyes@fabrikam.com yesterday about onboarding. They need two more admin seats.

Sales managers

Make sure deals show real activity

Interactions logged against the right open deal keep pipeline reviews grounded in what actually happened.

Log an email to dana@northwindtraders.com today sending the revised proposal, on her open deal.

How it works

What PopdockAI does when you ask

You describe the interaction in one sentence and your AI assistant finds the contact, company and deal. Nothing is logged until you confirm, and logging an email does not send it.

01

Ask

You give the contact email, the type, a summary and the date.

Your AI tool

02

Match

It finds the contact, their company and any open deal to link.

hubspot-get-contacts
hubspot-get-deals

03

Check

It looks for the same interaction already logged that day.

hubspot-get-calls
hubspot-get-emails
hubspot-get-meetings

04

Confirm

You review the entry and links, then it logs it and gives you the ID.

Your AI tool

What PopdockAI provides

The tools behind the answer

Ready made tools for HubSpot and one secure connection to your AI tool. No code, no exports.

get-data

hubspot-get-contacts

Returns contact records from HubSpot CRM, with email, phone, company, lifecycle stage, lead status, owner and location from the HubSpot connector. Filter by company id, state region, contact owner, email, last name, create date, company name, record id, lifecycle stage, lead status.
get-data

hubspot-get-deals

Returns deals from HubSpot CRM, with amount, stage, pipeline, close date, owner and associated company and contact from the HubSpot connector. Filter by pipeline name, close date, deal stage name, deal type, record id, company id, deal name, amount, deal owner.
get-data

hubspot-get-calls

Returns calls logged in HubSpot, with direction, status, outcome, duration and the associated contact, company and deal from the HubSpot connector. Filter by call status, call title, activity assigned to, call direction, company id, activity date, contact id.
get-data

hubspot-get-emails

Returns one-to-one sales emails logged in HubSpot, with subject, direction, status, sender, recipients and associated records from the HubSpot connector. Filter by email to address, contact id, email from address, email send status, email subject, activity date, email direction, activity assigned to.
get-data

hubspot-get-meetings

Returns meetings logged in HubSpot, with name, start and end times, outcome, location and associated records from the HubSpot connector. Filter by activity assigned to, contact id, company id, deal id, meeting start time, meeting name, meeting outcome.
run-action

hubspot-add-call

Logs a call in HubSpot and returns the new call's ID. Required: Date. Optional: Title, Notes, Direction, Status, Duration, To number, Owner ID, Company IDs, Contact IDs, Deal IDs. Writes to HubSpot.
run-action

hubspot-add-email

Logs an email in HubSpot's activity timeline (it does not send the email) and returns the new email's ID. Required: Date. Optional: Subject, Body, Direction, Status, To, From, Owner ID, Company IDs, Contact IDs, Deal IDs. Writes to HubSpot.
run-action

hubspot-add-meeting

Logs a meeting in HubSpot and returns the new meeting's ID. Required: Date. Optional: Title, Description, Start, End, Location, Outcome, Owner ID, Company IDs, Contact IDs, Deal IDs. Writes to HubSpot.
Read only.Nothing in HubSpot Changes

This report is built from Get data tools only. PopdockAI applies the row, field and parameter rules your admin sets, and every query is written to the audit trail.

How Popdock AI secures your data

The outcome

Every conversation lands on the right records

Try PopdockAI free
Get a live demo

Related use cases

More ways to put this data to work

All Ramp use cases

One prompt template with infinite possibilities.

‍

Your AI assistant adapts its approach, tone, and capabilities to match each unique context while you maintain a single, manageable workflow.

Join forward-thinking companies that are transforming their operations with intelligent, secure AI automation.

Try PopdockAI Free
See Documentation