logo

CALLGOOSE

HubSpot

Integration of HubSpot with Callgoose SQIBS


Overview

This document provides a detailed guide to integrating HubSpot with Callgoose SQIBS to support Event-Driven Automation, Lead or Ticket-based Auto Remediation, and customer workflow automation. This integration allows HubSpot to send ticket, contact, or form submission events to Callgoose SQIBS using webhooks, which then trigger automation workflows. After the automation completes, the results can be logged or updated back into HubSpot.


Prerequisites
  • HubSpot Account: Admin access to configure workflows, custom webhooks, and private apps for API authentication.
  • Callgoose SQIBS Account: Permissions to create API filters and define automation workflows.
  • Callgoose API Token and Endpoint: Required to receive and process webhook data.


1. Obtain API Token and Endpoint Details in Callgoose SQIBS

1.1 Generate API Token:

1.2 Find API Endpoint:


2. Configure HubSpot to Send Webhook Events to Callgoose SQIBS

2.1 Create a Workflow in HubSpot

  1. Go to https://app.hubspot.com and log in with an admin account
  2. Navigate to Automation > Workflows
  3. Create a new workflow (e.g., based on ticket creation or form submission)
  4. Set your trigger (e.g., “Ticket is created”, or “Form submitted”)
  5. In the Actions, choose Trigger a Webhook
  6. Set up webhook configuration:
  • Webhook URL: https://<your_callgoose_instance>/sqibs/integration_endpoint
  • Request Type: POST
  • Headers (optional):
Content-Type: application/json
Authorization: Bearer <token_if_required>
  • Payload Example:
{
  "ticket_id": "{{ticket.id}}",
  "subject": "{{ticket.subject}}",
  "description": "{{ticket.description}}",
  "priority": "{{ticket.priority}}",
  "email": "{{ticket.contact.email}}"
}
  1. Save and activate the workflow


3. Configure Callgoose SQIBS to Process HubSpot Events

3.1 Create API Filters

  1. Log in to Callgoose SQIBS
  2. Navigate to API Filters
  3. Add a new filter based on the structure of HubSpot’s webhook payload

Example:

  • Payload JSON Key: priority
  • Key Value Contains: ["High"]
  • Map Incident With: ticket_id
  • Incident Title From: subject
  • Incident Description From: description

3.2 Run Automation Workflows

  • Trigger automation based on the incident using available runners (Ansible, Shell, Python, PowerShell, etc.)
  • Implement logic to remediate the issue described in the incoming request


4. Update HubSpot from Callgoose SQIBS (Optional)

4.1 Create a Private App in HubSpot

  1. Navigate to Settings > Integrations > Private Apps
  2. Create a new private app and generate an access token
  3. Use the access token to authenticate API requests from Callgoose

4.2 HubSpot API Call Example

  • Endpoint to Update Ticket:
PATCH https://api.hubapi.com/crm/v3/objects/tickets/<ticket_id>
  • Headers:
Content-Type: application/json
Authorization: Bearer <access_token>
  • Body Example:
{
  "properties": {
    "hs_ticket_status": "closed",
    "latest_resolution_note": "Resolved by Callgoose SQIBS automation."
  }
}


5. Testing and Validation
  1. Trigger the HubSpot workflow by creating a test ticket or form submission
  2. Confirm that the webhook is sent and received by Callgoose SQIBS
  3. Check that an incident is created and the automation runs
  4. If configured, verify that the HubSpot ticket status is updated


6. Troubleshooting
  • Use the webhook execution logs in HubSpot to confirm request delivery
  • Check API logs in Callgoose SQIBS to debug payload issues
  • Validate API token and endpoint used for callbacks or ticket updates
  • Review automation runner logs for script-level errors


7. References


CALLGOOSE
SQIBS

Advanced Automation platform with effective On-Call schedule, real-time Incident Management and Incident Response capabilities that keep your organization more resilient, reliable, and always on

Callgoose SQIBS can Integrate with any applications or tools you use. It can be monitoring, ticketing, ITSM, log management, error tracking, ChatOps, collaboration tools or any applications

Callgoose providing the Plans with Unique features and advanced features for every business needs at the most affordable price.



Unique Features

  • 30+ languages supported
  • IVR for Phone call notifications
  • Dedicated caller id
  • Advanced API & Email filter
  • Tag based maintenance mode
Book a Demo

Signup for a freemium plan today &
Experience the results.

No credit card required