Skip to content

[BUG] Hubspot actions can't be configured with end user auth #14913

@js07

Description

@js07

Describe the bug
Hubspot actions that make a Hubspot API call in additionalProps can't be configured when "Use end user auth via Connect" is enabled.

Previously, this was not an issue since Pipedream-managed auth was the only auth type.

To Reproduce
Steps to reproduce the behavior:

  1. Add the Hubspot Search CRM action to a workflow
  2. Toggle "Use end user's auth via Connect"
  3. Select "Contacts" in the dropdown for Object Type
  4. See axios error and no additional fields for searching or creating an object

Expected behavior
I should be able to successfully configure the action when I have "Use end user auth via Connect" enabled:

  1. The Search Property, Search Value, and Additional properties to retrieve props should be shown (without options) even if the Hubspot API call in additionalProps fails.
  2. If Create if not found? is true, I should be able to enter an expression for a JSON object if properties can't be fetched. This applies to all of the "Create *" and "Update *" Hubspot actions.

(This would be similar to the fallback used in the Google Sheets Add Single Row action.)

Screenshots

Current behavior:
ac6dc9e

These props should be shown:
fc39843

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions