Skip to content

Conversation

@fivetran-sushmitha
Copy link
Contributor

@fivetran-sushmitha fivetran-sushmitha commented Oct 31, 2025

Jira ticket

Closes <ADD TICKET LINK HERE, EACH PR MUST BE LINKED TO A JIRA TICKET>

Description of Change

Business value and revenue impact

This Refiner connector directly helps Fivetran customers unlock survey analytics at scale:

Customer feedback analytics

  • Problem - Companies rely on manual CSV exports to analyze survey responses.
  • Solution - Automated connector syncs survey and response data keyed by user ID, ready for analysis in BI tools.
  • Revenue impact - Opens new market segment (customer feedback analytics); supports product and marketing analytics customers.

User-level insights

  • Problem - Product and growth teams cannot easily correlate survey responses with user behavior data.
  • Solution - Connector enables joining survey data with product usage in the warehouse via user ID.
  • Revenue impact - Drives adoption among SaaS and growth teams using Refiner to measure user satisfaction and NPS.

Operational efficiency

  • Problem - Manual exports are time-consuming and error-prone.
  • Solution - Fivetran automation eliminates manual work and ensures consistent incremental syncs.
  • Revenue impact - Strengthens positioning in the feedback automation space, increasing customer retention and cross-sell opportunities.

Testing

<MENTION ABOUT YOUR TESTING DETAILS HERE, ATTACH SCREENSHOTS IF NEEDED (WITHOUT PII)>

Checklist

Some tips and links to help validate your PR:

  • Tested the connector with fivetran debug command.
  • Added/Updated example specific README.md file, refer here for template.
  • Followed Python Coding Standards, refer here

@fivetran-sushmitha fivetran-sushmitha requested review from a team as code owners October 31, 2025 18:15
Copilot AI review requested due to automatic review settings October 31, 2025 18:15
@github-actions github-actions bot added the size/XL PR size: extra large label Oct 31, 2025
@github-actions
Copy link

github-actions bot commented Oct 31, 2025

🧹 Python Code Quality Check

✅ No issues found in Python Files.

🔍 See how this check works

This comment is auto-updated with every commit.

@fivetran-sushmitha fivetran-sushmitha added the hackathon For all the PRs related to the internal Fivetran 2025 Connector SDK Hackathon. label Oct 31, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new Refiner Survey Analytics Connector that integrates with the Refiner API to sync NPS survey data, responses, and user information into Fivetran destinations. The connector implements incremental syncs with cursor-based pagination, proper error handling, and comprehensive state management.

Key changes:

  • New connector implementation with 5 normalized tables (surveys, questions, responses, answers, respondents)
  • Incremental sync support based on last_data_reception_at timestamps with configurable start dates
  • Comprehensive error handling with exponential backoff and proper retry logic for transient failures

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 9 comments.

File Description
connectors/refiner/connector.py Main connector implementation with API integration, pagination, state management, and data transformation logic
connectors/refiner/configuration.json Configuration template with API key and optional start date parameters
connectors/refiner/README.md Complete documentation covering setup, features, authentication, data handling, and table schemas

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

Comments suppressed due to low confidence (1)

connectors/refiner/connector.py:28

  • Import of 'urlencode' is not used.
from urllib.parse import urlencode

Copy link
Contributor

Choose a reason for hiding this comment

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

@fivetran-sushmitha Left a few suggestions. Thanks.
Also, the main Readme.md file is missing.

Copy link
Contributor

@fivetran-sahilkhirwal fivetran-sahilkhirwal left a comment

Choose a reason for hiding this comment

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

Please address these comments as well as copilot comments :)

@fivetran-sahilkhirwal
Copy link
Contributor

Please link the example to the main README
Also, there are some flake8 issues present. Please resolve them as well
You can check the flake8 issue report here

@fivetran-sahilkhirwal fivetran-sahilkhirwal added the top-priority A top priority PR for review label Nov 10, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 17 comments.

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM. Please address the review comments from Copilot.

Copy link
Contributor

Choose a reason for hiding this comment

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

I have left a suggestion and a comment. Please check. Thanks.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

Copy link
Contributor

@fivetran-sahilkhirwal fivetran-sahilkhirwal left a comment

Choose a reason for hiding this comment

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

looks good

Copy link
Collaborator

@fivetran-rishabhghosh fivetran-rishabhghosh left a comment

Choose a reason for hiding this comment

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

Please wait till tech writer approves it

Copy link
Contributor

Choose a reason for hiding this comment

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

Left a couple of suggestions again. Thanks.

Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Copy link
Contributor

Choose a reason for hiding this comment

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

Left a few suggestions. Thanks

Copy link
Contributor

Choose a reason for hiding this comment

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

Left a few suggestions. Thanks.

fivetran-sushmitha and others added 8 commits November 25, 2025 12:50
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Co-authored-by: fivetran-chinmayichandrasekar <chinmayi.chandrasekar@fivetran.com>
Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hackathon For all the PRs related to the internal Fivetran 2025 Connector SDK Hackathon. size/XL PR size: extra large top-priority A top priority PR for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants