Make a selection

Gorgias and Subscriptions for Shopify Checkout Integration

Laurel
Laurel
  • Updated

Gorgias is a customer support platform that enables businesses to manage support requests from multiple channels such as email, live chat, and social media.

Bold Subscriptions and Gorgias integrate to streamline customer support. This integration allows support agents to view customer subscription information within Gorgias and perform actions like skipping, canceling, and pausing subscriptions, leading to more efficient customer service.

Example

Gorgias with Bold Subscriptions integration

This guide details how to set up the integration between Gorgias and Bold Subscriptions.

 


 

Pricing

Gorgias has a variety of price plans based on the number of help desk tickets your business requires. Plans can be paid monthly or yearly. For more information, please visit Gorgias’ pricing page.

 


 

Prerequisites

 


 

Setup

Step 1: Connect Gorgias to Bold Subscriptions

To establish the connection and enable Gorgias to retrieve subscription information using the customer's email, follow the steps below.

  1. Log into your Gorgias account.
  2. Navigate to Settings by clicking the gear icon at the bottom of the left sidebar.

    Settings gear icon.png

  3. In the new menu, select App Store, then HTTP Integration.

    HTTP integration.png

  4. Click the Manage tab located at the top of the page.

    Manage tab.png

  5. Click the blue Add HTTP Integration button in the top right corner.
  6. Complete the following fields:

    Get Subscription Information page.png

    1. Integration Name: Enter Bold Subscription Information (or your preferred name).

      Note: This name can be whatever you want, but for the purposes of this article it will be referenced as Bold Subscription Information.

    2. Optional: Enter a Description.
    3. Triggers: Select Tickets created and Tickets updated. Choose additional triggers as needed.
    4. URL: Copy and paste the following web address, but replace {Bold Shop Identifier} with your store's Bold shop identifier:
      https://api.boldcommerce.com/subscriptions/v1/shops/{Bold Shop Identifier}/subscriptions?customer_email={{ticket.customer.email}}&expand=customer&limit=1
    5. HTTP Method: Enter GET.
    6. Response content type: Enter application/json.
    7. Headers:
      1. Key: Authorization
      2. Value: Bearer {ReplaceWithBoldAPIAccessToken}
      3. Key: Bold-API-Version-Date
      4. Value: 2022-05-01
  7. Click Save changes.

 

Step 2: Verify the integration

To ensure the integration is functioning correctly, follow the steps below.

  1. Click the Home button in the top left corner.
  2. Click Create Ticket.
    1. Enter the email address of a test customer with an active subscription in your store.

      Note: This should be a test account so you can access the email.

    2. Reply to the Gorgias ticket message from the associated email account.
  3. Click the Settings gear icon in the bottom left corner.
  4. Select HTTP Integration.
  5. Click Manage.
  6. Click on the Bold Subscription Information integration.
  7. Click Events at the top of the page.
  8. Click on an event to view the details.
  9. Verify that the displayed information matches the subscription details of the test customer.

 

Step 3: Display the Subscription widget on tickets

To make subscription information available visible within customer tickets, follow the steps below.

  1. Click on All in the ticket navigation.
  2. Click on a recent ticket thread that had an event trigger from the Bold Subscription Information integration.
  3. Under Customer Details, click the Settings gear icon. This will open the Manage Widgets page.

    Customer details Settings gear icon

  4. Scroll down the left sidebar until you locate Bold Subscription Information.
  5. Drag subscription (list) from the left side to the right side, where widgets are displayed.

    Note: The pagination section is not required.

    subscriptions (list)

  6. Remove any unnecessary fields, and customize the field names as desired (e.g., change first_name to First Name, change the widget title to Subscriptions, etc.) 

    Example

 

Step 4: Add Bold Subscriptions action buttons to the widget

To add action buttons within the widget for quick actions like skipping an order, please follow the steps below.

  1. Click on All in the ticket navigation.
  2. Click on a recent ticket thread that had an event trigger from the Bold Subscription Information integration.
  3. Under Customer Details, click the Settings gear icon. This will open the Manage Widgets page.

    Customer details Settings gear icon

  4. On the left sidebar, locate the Subscription widget that you previously added.
  5. Click Add Button. An HTTP action configuration window will appear.
  6. Create actions for any function supported by the Bold Subscriptions API. For example:
    1. To create a Skip Next Order button, configure the following:

      Configure HTTP action

    2. Button Title: Enter Skip Next Order.
    3. Method: Select PUT.
    4. URL: Copy and paste the following web address:
      https://api.boldcommerce.com/subscriptions/v1/shops/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].billing_address.shop_identifier}}/subscriptions/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].id}}/skip
    5. Headers:
      1. Authorization
        1. Type: Text
        2. Label: Authorization
        3. Key: Authorization
        4. Value: Bearer {ReplaceWithBoldAPIAccessToken}
        5. Leave the Editable and Required checkboxes in their default state.
    6. API Version
      1. Type: Text
      2. Label: API Version
      3. Key: Bold-API-Version-Date
      4. Value: 2022-05-01
      5. Leave the Editable and Required checkboxes in their default state.
    7. Query Parameters: Leave this section empty.
    8. Body:
      1. Select application/json.
      2. Enter the following code:
        {
            "date": "{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].next_order_datetime}}"
        }
        
  7. Click Save.
  8. More buttons can be added using a similar format. The section below offers more examples.

 

More subscription action button examples

Cancel subscription button

  1. Button Title: Enter Cancel Subscription.
  2. Method: Select POST.
  3. URL: Copy and paste the following web address:
    https://api.boldcommerce.com/subscriptions/v1/shops/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].billing_address.shop_identifier}}/subscriptions/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].id}}/cancel
  4. Headers:
    1. Authorization
      1. Type: Text
      2. Label: Authorization
      3. Key: Authorization
      4. Value: Bearer {ReplaceWithBoldAPIAccessToken}
      5. Leave the Editable and Required checkboxes in their default state.
  5. API Version
    1. Type: Text
    2. Label: API Version
    3. Key: Bold-API-Version-Date
    4. Value: 2022-05-01
    5. Leave the Editable and Required checkboxes in their default state.
  6. Query Parameters: Leave this section empty.
  7. Body:
    1. Select application/json.
    2. No additional parameters are needed.
  8. Click Save.

 

Reactivate subscription button

  1. Button Title: Enter Reactivate Subscription.
  2. Method: Select POST.
  3. URL: Copy and paste the following web address:
    https://api.boldcommerce.com/subscriptions/v1/shops/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].billing_address.shop_identifier}}/subscriptions/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].id}}/activate
  4. Headers:
    1. Authorization
      1. Type: Text
      2. Label: Authorization
      3. Key: Authorization
      4. Value: Bearer {ReplaceWithBoldAPIAccessToken}
      5. Leave the Editable and Required checkboxes in their default state.
  5. API Version
    1. Type: Text
    2. Label: API Version
    3. Key: Bold-API-Version-Date
    4. Value: 2022-05-01
    5. Leave the Editable and Required checkboxes in their default state.
  6. Query Parameters: Leave this section empty.
  7. Body:
    1. Select application/json.
    2. No additional parameters are needed.
  8. Click Save.

 

Pause subscription button

  1. Button Title: Enter Reactivate Subscription.
  2. Method: Select POST.
  3. URL: Copy and paste the following web address:
    https://api.boldcommerce.com/subscriptions/v1/shops/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].billing_address.shop_identifier}}/subscriptions/{{ticket.customer.integrations[$integrationId].subscriptions[$listIndex].id}}/pause
  4. Headers:
    1. Authorization
      1. Type: Text
      2. Label: Authorization
      3. Key: Authorization
      4. Value: Bearer {ReplaceWithBoldAPIAccessToken}
      5. Leave the Editable and Required checkboxes in their default state.
  5. API Version
    1. Type: Text
    2. Label: API Version
    3. Key: Bold-API-Version-Date
    4. Value: 2022-05-01
    5. Leave the Editable and Required checkboxes in their default state.
  6. Query Parameters: Leave this section empty.
  7. Body:
    1. Select application/json.
    2. No additional parameters are needed.
  8. Click Save.