Skip to content

Feature/submission response - #203

Merged
fivetran-jamie merged 7 commits into
release/1.8.0from
feature/submission-response
Jun 24, 2026
Merged

Feature/submission response#203
fivetran-jamie merged 7 commits into
release/1.8.0from
feature/submission-response

Conversation

@fivetran-jamie

Copy link
Copy Markdown
Collaborator

PR Overview

Package version introduced in this PR:

  • v1.8.0

This PR addresses the following Issue/Feature(s):

Summary of changes:

  • Incorporates the submission_response table into contact form metrics

Submission Checklist

  • Alignment meeting with the reviewer (if needed)
    • Timeline and validation requirements discussed
  • Provide validation details:
    • Validation Steps: Check for unintentional effects (e.g., add/run consistency & integrity tests)
image
  • Testing Instructions: Confirm the change addresses the issue(s)
  • Focus Areas: Complex logic or queries that need extra attention
  • Merge any relevant open PRs into this PR

Changelog

  • Draft changelog for PR
  • Final changelog for release review

@fivetran-jamie fivetran-jamie self-assigned this Jun 23, 2026
{"name": "_fivetran_synced", "datatype": dbt.type_timestamp()},
{"name": "_fivetran_deleted", "datatype": dbt.type_boolean()},
{"name": "guid", "datatype": dbt.type_bigint()},
{"name": "guid", "datatype": dbt.type_string()},

@fivetran-jamie fivetran-jamie Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing this as a string in our data

Comment on lines +6 to +8
{"name": "form_id", "datatype": dbt.type_string()},
{"name": "contact_id", "datatype": dbt.type_bigint()},
{"name": "conversion_id", "datatype": dbt.type_bigint()},
{"name": "conversion_id", "datatype": dbt.type_string()},

@fivetran-jamie fivetran-jamie Jun 23, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing form_id and conversion_id as strings in our data

@fivetran-jamie
fivetran-jamie marked this pull request as ready for review June 23, 2026 18:17
@fivetran-jamie
fivetran-jamie changed the base branch from main to release/1.8.0 June 23, 2026 18:17
@fivetran-jamie

Copy link
Copy Markdown
Collaborator Author

will resolve merge conflicts after approval

@fivetran-joemarkiewicz fivetran-joemarkiewicz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments to address before merging. Nothing blocking from approval.

Comment on lines +3 to +9
{{
hubspot.hubspot_union_connections(
connection_dictionary='hubspot_sources',
single_source_name='hubspot',
single_table_name='submission_response'
)
}}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This needs to use fivetran_utils.union_connections

staging_columns=get_submission_response_columns()
)
}}
{{ hubspot.apply_source_relation() }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update this to use fivetran_utils version

Comment thread CHANGELOG.md Outdated
## Schema Change
**8 new models • 0 possible breaking changes**
## Schema/Data Change
**2 new models • 0 possible breaking changes• 6 total changes**

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**2 new models • 0 possible breaking changes• 6 total changes**
**2 new models • 0 possible breaking changes • 6 total changes**

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adjusting directly

Comment thread CHANGELOG.md Outdated
Comment on lines +10 to +11
| `hubspot__contacts` | New fields | | `calculated_first_conversion_fields_responded_to`<br>`calculated_most_recent_conversion_fields_responded_to` | Comma-separated list of fields submitted during the contact's first and most recent form conversions. |
| `hubspot__contacts` | New fields | | `calculated_first_conversion_total_responses`<br>`calculated_most_recent_conversion_total_responses` | Number of fields submitted during the contact's first and most recent form conversions. |

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are nearly identical. Any way we can consolidate into one row?

@fivetran-jamie
fivetran-jamie merged commit ecc9b3f into release/1.8.0 Jun 24, 2026
1 of 9 checks passed
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.

2 participants