Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

feat(warehouse_sources): add teamtailor interview_kits table (#126970)

Tom Owersd5a55861ee10
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md b/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md
index 1d3262228e1f..bccc52cba367 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/COVERAGE_GAPS_APPENDIX.md
@@ -12088,6 +12088,7 @@ Diffed against: <https://docs.teamtailor.com/api/collections/14157246/TVzSiGxA>
- [ ] `requisitions` — approved headcount requests, joins hiring demand to jobs (medium)
- [ ] `team-memberships` — membership table linking the users we sync to teams (medium)
- [ ] `stage-types` — lookup classifying stages into kinds, needed to compare funnels across differently-named pipelines (medium)
+- [x] `interview-kits` — read-only lookup of the interview templates (name, created-at) used to structure interviews and scorecards
Note: docs.teamtailor.com is a published Postman collection, not an OpenAPI site — the resource list was read from the collection JSON at the URL above (~35 GET collections on https://api.teamtailor.com/v1). PostHog covers 5 of them, and every pipeline lookup table is missing.
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/canonical_descriptions.py b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/canonical_descriptions.py
index a1408530a163..7993a667c663 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/canonical_descriptions.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/canonical_descriptions.py
@@ -129,4 +129,14 @@ CANONICAL_DESCRIPTIONS: CanonicalDescriptions = {
"phone": "The contact phone number.",
},
},
+ "interview_kits": {
+ "description": "A reusable interview template (questions and scorecard) that interviewers use in Teamtailor.",
+ "docs_url": "https://docs.teamtailor.com/",
+ "columns": {
+ "id": "The unique ID of the interview kit.",
+ "type": "The JSON:API resource type (always 'interview-kits').",
+ "name": "The name of the interview kit.",
+ "created-at": "When the interview kit was created.",
+ },
+ },
}
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/settings.py b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/settings.py
index d761791c5740..552794b9d896 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/settings.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/settings.py
@@ -26,6 +26,7 @@ TEAMTAILOR_ENDPOINTS: dict[str, TeamtailorEndpointConfig] = {
"movements": TeamtailorEndpointConfig(name="movements", path="/movements"),
"reject_reasons": TeamtailorEndpointConfig(name="reject_reasons", path="/reject-reasons"),
"locations": TeamtailorEndpointConfig(name="locations", path="/locations"),
+ "interview_kits": TeamtailorEndpointConfig(name="interview_kits", path="/interview-kits"),
}
ENDPOINTS = tuple(TEAMTAILOR_ENDPOINTS.keys())
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/source.py b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/source.py
index 2a62386e3b35..ce41bea9fa71 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/source.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/source.py
@@ -68,7 +68,7 @@ class TeamtailorSource(ResumableSource[TeamtailorSourceConfig, TeamtailorResumeC
releaseStatus=ReleaseStatus.BETA,
caption="""Enter your Teamtailor API key to pull your recruiting data into the PostHog Data warehouse.
-You can create an API key under **Settings → API keys** in Teamtailor. Use a key with the **Admin** scope and **read** access. It lets PostHog read your candidates, jobs, job applications, stages, stage movements, reject reasons, users, departments, and locations.
+You can create an API key under **Settings → API keys** in Teamtailor. Use a key with the **Admin** scope and **read** access. It lets PostHog read your candidates, jobs, job applications, stages, stage movements, reject reasons, users, departments, locations, and interview kits.
""",
iconPath="/static/services/teamtailor.png",
docsUrl="https://posthog.com/docs/cdp/sources/teamtailor",
diff --git a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/tests/test_teamtailor.py b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/tests/test_teamtailor.py
index 4786694181f2..53f02128d94a 100644
--- a/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/tests/test_teamtailor.py
+++ b/products/warehouse_sources/backend/temporal/data_imports/sources/teamtailor/tests/test_teamtailor.py
@@ -129,6 +129,7 @@ class TestTeamtailorSourceResponse:
("movements", "/v1/movements"),
("reject_reasons", "/v1/reject-reasons"),
("locations", "/v1/locations"),
+ ("interview_kits", "/v1/interview-kits"),
]
)
def test_source_response_shape(self, endpoint: str, expected_path: str) -> None: