HubSpot
Kontak, perusahaan, deal, tiket dan objek lain (daftar, ambil, cari, buat, ubah), asosiasi, catatan timeline, property, pipeline, owner. Arsip dan hapus asosiasi hanya lewat node, api_request agent dibatasi ke path baca CRM
Tentang
Plugin Graphrt untuk HubSpot CRM API. Plugin ini bekerja dengan kontak, perusahaan, deal dan tiket, serta objek standar lain (catatan, task, panggilan, rapat, email, produk, line item, quote, lead). Kamu bisa menampilkan, mengambil, mencari, membuat dan mengubah record, mengasosiasikannya, dan menambah catatan ke timeline. Plugin ini juga membaca property, pipeline dan owner.
Yang bisa dilakukan
- Records (object_type: contacts, companies, deals, tickets, notes, tasks, calls, meetings, emails, products, line_items, quotes, leads): - list_objects, get_object (also by a unique property, such as id_property: email) - search_objects: filter groups, a text query and one sort, up to 200 per page and 10,000 per search - create_object (optionally with associations) and update_object - archive_object: moves the record to the recycle bin, restorable for 90 days (node only)
- Associations: - list_associations: labels included - associate_objects: the default association - remove_association (node only)
- Notes: create_note takes text, a timestamp (default: now), an owner and plain lists of contact/company/deal/ticket ids. The plugin builds HubSpot's association array, using type ids 202, 190, 214 and 228.
- Schema: - list_properties: internal names and dropdown options - list_pipelines: deal or ticket stages - list_owners - get_account_details: portal id, time zone, currency
- api_request: any other endpoint. Agents get GET only, on CRM paths only (see Agent policy).
Aksi
Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.
- List records
hubspot.list_objects - Get record
hubspot.get_object - Search records
hubspot.search_objects - Create record
hubspot.create_object - Update record
hubspot.update_object - Archive record
hubspot.archive_object - List associations
hubspot.list_associations - Associate records
hubspot.associate_objects - Remove association
hubspot.remove_association - Add note
hubspot.create_note
Tampilkan semua 15 aksi
- List properties
hubspot.list_properties - List pipelines
hubspot.list_pipelines - List owners
hubspot.list_owners - Account details
hubspot.get_account_details - HubSpot API request
hubspot.api_request
Pengaturan
Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.
-
HUBSPOT_ACCESS_TOKENPrivate app access token (pat-...), sent as a Bearer token -
HUBSPOT_TOOL_TOKEN_SOURCE
Cara memakainya
Di Graphrt Desktop
- Buka Plugins dan cari HubSpot.
- Klik Install lalu setujui.
- Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
- Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Dengan CLI
$ graphrt plugin install hubspot - id: find
type: hubspot.get_object
object_type: contacts
object_id: "{{#start.email#}}"
id_property: email
properties: [firstname, lifecyclestage, hubspot_owner_id]
- id: company
type: hubspot.create_object
object_type: companies
properties: { name: Acme, domain: acme.example }
- id: link
type: hubspot.associate_objects
from_object_type: contacts
from_object_id: "{{#find.data.id#}}"
to_object_type: companies
to_object_id: "{{#company.data.id#}}"
- id: note
type: hubspot.create_note
body: "Demo booked for next Tuesday"
contact_ids: ["{{#find.data.id#}}"]
company_ids: ["{{#company.data.id#}}"]
- id: stage
type: hubspot.update_object
object_type: deals
object_id: "{{#start.deal_id#}}"
properties: { dealstage: closedwon }