Skip to content

ClickSend/integration-hubspot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Hubspot Integration

This tutorial will shows how to send automated SMS using ClickSend API using the Hubspot CRM. For troubleshooting purposes please contact our support team.

Prequisites:

To get started you will need:

Configuring the trigger/s for the workflow:

  1. Click on the "Automation" tab from the menu bar and open the "Workflows" in a new tab from the drpdown menu.

    SelectWorkflow
  2. Click on "Create workflow" button.

    CreateWorkflow
  3. To keep this guide simple we will select "Contact-based" blank workflow, you can select any trigger you like as long as it contains the phone number field. After selecting the trigger and naming the workflow click on the "Next" button.

    ContactWorkflow
  4. Click on the "Set up triggers" button and filter on how the contacts enter the workflow.

    Filter
  5. For simplicity purposes we will filter contacts based on if the phone number field does not contain the alphabet 'a', so that we can select every contact. After setting up the filter click on the "Apply filter" button.

    FilterPhone
  6. If you want to cross check the filter setup click on "Test criteria" button. Click on "Save" button to save filter/s after the configuration.

    TestSaveFilter

Configuring the action for the workflow:

  1. Switch to the previous tab and click on the "Settings" icon.

    Settings
  2. Click on "Private Apps" from the Settings menu and click on "Create a private app" button.

    API
  3. Add the "Name" and "Description" for the app.

    NameDescription
  4. Select the scopes as shown in the image and click on "Create app" button.

    Scopes
  5. Click and copy the token.

    Token
  6. Switch to workflows tab and click on the "+" button to add the action.

    AddAction
  7. Click on "Custom code" from the action list.

    Code
  8. Click on "Choose a secret" dropdown menu and select "Add secret" to add your Private app token.

    HSS
  9. Type "HPKEY" as "Secret name" and paste the Private app token under the "Secret value". Click on "Save" button.

    HSP
  10. We will need your ClickSend credentials to send SMS - ClickSend Credentials

  11. Copy your username from the ClickSend dashboard and click on "Add secret".

    CSUD
  12. Type "CSUSERNAME" as "Secret name" and paste the username under the "Secret value". Click on "Save" button.

    CSUH
  13. Repeat the steps 14 and 15 to add your ClickSend API Key, use "CSKEY" as "Secret name" and API Key as "Secret value".

    CSUK
  14. Remove the existing code, then copy and paste the code from "Hubspot_CustomCode.js" in the "Code" section. Make sure Hubspot Client v3 is selected.

    CSUC
  15. Change the content of message body as per the need. Click on the "Save" button after making the changes.

    CSUM

Testing (Optional)

  1. To test the action select a contact from the drop-down list and click on the "Test" button.

    TA
  2. The output should have a "SUCCESS" value.

    SUV

Publishing the Workflow

  1. Click on "Review and publish" button.

    RAP
  2. Review the Enrollment, Unenrollment and Timing options. Click on the "Turn on" button.

    WTO
  3. The workflow will now automatically send the SMS whenever a contact triggers the workflow.

About

Hubspot Integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors