Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Listens for HubSpot Product description updates and propagates to associated Line Items on open Deals

License

Notifications You must be signed in to change notification settings

finix-payments/revpartners-product-watch

Repository files navigation

Product-Watch

Listen for HubSpot webhooks triggered by the update of a Product's description, then propagate this updated description to all Line Items associated with that Product on all open Deals

Setup

  1. Log into HubSpot account
  2. Go to Settings → Integrations → Private Apps
  3. Create a new private app
  4. Give it scopes:
    • crm.objects.products.read
    • crm.objects.line_items.read/write
    • crm.objects.deals.read/write
  5. Register Webhook
    • enter target url (Lambda endpoint)
    • listen for product.propertyChange → description
  6. Copy Private App API Token
  7. Set as environment var "API_TOKEN" in Lambda
  8. In AWS config, set Handler to "index.ProductEventHandler"
  9. Select Node.js runtime 18.x or higher

About

Listens for HubSpot Product description updates and propagates to associated Line Items on open Deals

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •