Skip to content

[ENG-3906] feat(hubspot/marketing): Read campaigns#2959

Closed
Cobalt0s wants to merge 1 commit into
cobalt0s/hubspot-marketingfrom
cobalt0s/hubspot-marketing-read
Closed

[ENG-3906] feat(hubspot/marketing): Read campaigns#2959
Cobalt0s wants to merge 1 commit into
cobalt0s/hubspot-marketingfrom
cobalt0s/hubspot-marketing-read

Conversation

@Cobalt0s
Copy link
Copy Markdown
Contributor

@Cobalt0s Cobalt0s commented May 6, 2026

Description

Adds support for reading campaigns in the HubSpot Marketing module.

Changes

  • Added a manually maintained schema.json describing campaign object.
    • Added a unit test for ListObjectMetadata to verify the campaign schema.
    • Created README.md to document that schema.json is created and maintained manually.
  • Added support for incremental campaign reads using connector-side filtering.
  • Flattened fields returned under the properties response key into the Fields output while preserving the original payload in Raw.
  • Added unit tests covering campaign reads, including a test that verifies connector-side incremental filtering.

Live Tests

Read campaigns:
image

Read campaigns with Since:
image

Campaigns metadata:
image

Copy link
Copy Markdown
Contributor Author

Cobalt0s commented May 6, 2026

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing branch from 6a27138 to d1589e1 Compare May 6, 2026 18:22
@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing-read branch from a7e8645 to 79d0198 Compare May 6, 2026 18:22
@Cobalt0s Cobalt0s self-assigned this May 6, 2026
@Cobalt0s Cobalt0s changed the title [TODO] feat(hubspot/marketing): Read campaigns [ENG-3906] feat(hubspot/marketing): Read campaigns May 6, 2026
@linear
Copy link
Copy Markdown

linear Bot commented May 6, 2026

@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing-read branch from 79d0198 to e95cbb9 Compare May 6, 2026 18:52
@Cobalt0s Cobalt0s marked this pull request as ready for review May 6, 2026 18:53
@Cobalt0s Cobalt0s force-pushed the cobalt0s/hubspot-marketing-read branch from e95cbb9 to d074baa Compare May 6, 2026 19:13
@Cobalt0s Cobalt0s requested a review from laurenzlong May 6, 2026 19:14
@Cobalt0s
Copy link
Copy Markdown
Contributor Author

Cobalt0s commented May 7, 2026

Hubspot won't be using modules.

@Cobalt0s Cobalt0s closed this May 7, 2026
@Cobalt0s Cobalt0s deleted the cobalt0s/hubspot-marketing-read branch May 8, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant