Skip to content

feat(contacts): add automatic customer scan to import contacts from channel history - #1128

Merged
viethung0o0 merged 1 commit into
mainfrom
feat/automatic-contact-scan
Sep 9, 2026
Merged

feat(contacts): add automatic customer scan to import contacts from channel history#1128
viethung0o0 merged 1 commit into
mainfrom
feat/automatic-contact-scan

Conversation

@viethung0o0

@viethung0o0 viethung0o0 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds Automatic Customer Scan next to the file import: pick a connected inbox and a "scan from" time, and contacts are created from the channel's conversation history back to that time.
  • Works for Messenger and Instagram. Dedicated pages for the scan and its history, with a 24h cooldown per inbox.

Test plan

  • pnpm --filter <pkg> check-types (database, business, worker, builder, utils, worker-config, integration-instagram)
  • pnpm --filter @chatbotx.io/database lint (schema drift in sync)
  • pnpm --filter builder lint (i18n key parity across all locales)
  • pnpm --filter @chatbotx.io/database test / @chatbotx.io/business test / worker test / builder test (coexist regression intact)
  • db:migrate — awaiting explicit approval per repo policy before applying
  • Manual: run a Messenger and an Instagram scan; contacts import and the history shows the run
  • Manual: a second scan within 24h is blocked; a contacts-restricted member cannot open the pages or schedule a scan

@github-actions github-actions Bot added the feature New feature or request label Sep 9, 2026
@viethung0o0
viethung0o0 force-pushed the feat/automatic-contact-scan branch 2 times, most recently from d004e5b to 5619d9b Compare September 9, 2026 15:40
@viethung0o0
viethung0o0 marked this pull request as ready for review September 9, 2026 15:44
@viethung0o0
viethung0o0 force-pushed the feat/automatic-contact-scan branch from 5619d9b to 2584099 Compare September 9, 2026 16:11
@viethung0o0
viethung0o0 merged commit de7fca9 into main Sep 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants