Repository navigation
feat(outreach): weekly lead-discovery sheet → sales board intake - #53
Open
brekarta-stack wants to merge 1 commit into
Open
brekarta-stack wants to merge 1 commit into
brekarta-stack wants to merge 1 commit into
Conversation
…s board - POST /api/admin/outreach/intake takes `sheet` (Excel Leads rows keyed by Korean headers); server picks the run week's rows and maps them to `sourced` leads, merging known orgs into activity records - batch tag (papertoy-weekly:YYYY-MM-DD) on activities makes re-sends idempotent (`already`), including create-without-activity cases - GET ?batch= returns records/org counts to reconcile with the Excel - discovery activities read 「발굴 신호」, not 「제안 초안」 - docs: routine wiring guide with a draft prompt step (not applied) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
무엇
주간 리드 발굴(클라우드 루틴)이 드라이브 엑셀에 저장한 그 주 결과를 제안 영업 보드에 「발굴」 단계로 넣는 입구.
POST /api/admin/outreach/intake에sheet형식 추가 — 엑셀 Leads 행을 머리글 그대로 받아 그 주 행(발굴일/최근 갱신일 = runDate)만 리드로 바꾼다[papertoy-weekly:YYYY-MM-DD]로 재전송 시already(행만 생기고 활동 실패한 경우도quotes.outreach.batch로 감지)GET ?batch=— 그 주records(활동 수, 엑셀 행 수와 같아야 함)·기관 수leads경로 동작 유지 (batch·signal키가 있을 때만 새 동작)켜기 전 (사람 몫)
운영 배포, 루틴 환경 변수에
OUTREACH_INTAKE_TOKEN, 루틴 지시문에 단계 추가 —docs/papertoy-weekly-to-board.md.알려진 한계
동시에 같은 묶음 두 요청이면 못 막음(잠금 없음) — 루틴은 응답 전 재전송 안 함.
테스트
npm test450개 중 448 통과. 실패 2건은 무관한 날짜 표기 테스트(로컬 ICU 차이, 기존).🤖 Generated with Claude Code