Cards v2: smart lead capture — app, service and notifications
Build version 2 of Vinova Lab Cards: what happens to a contact between the moment it is left on a card and the follow-up. Push notifications in the iOS/Android app, voice notes with transcript and summary, a briefing to the salesperson, a recap e-mail drafted from the note and sent from the salesperson's mailbox only after approval in the app, campaigns (trade fair mode) with statistics and export, an evening report and an e-mail signature built from the card.
Cards v2: smart lead capture — app, service and notifications
Vinova Lab Cards is the digital business card of the ERP: every employee of an organisation has one or more cards (NFC, QR code, link, Apple and Google Wallet), a public page with the profile they choose, and the contacts that visitors leave on that page. Version 1 is live: the web app (card-frontend), the iOS and Android app (MobileApp, built in challenge MB001) and the service card-service. Today a contact left on a card becomes a lead of the card owner, who gets a short e-mail and finds the details in the app. Nothing happens after that.
This challenge builds version 2, "smart lead capture": what happens to a contact between the moment it is left on a card and the moment the salesperson follows it up. The salesperson records a voice note after the conversation and gets back a summary and structured fields; the salesperson receives a briefing (e-mail and push notification) about the new contact; a recap e-mail to the contact is drafted from the salesperson's note and sent from the salesperson's own mailbox only after approval in the app; an evening report sums up the day; campaigns (a trade fair, an event) mark every contact collected while they are active and count what they bring; an e-mail signature is generated from the card; and the v2 features are switched on per organisation by a flag set by Vinova Lab.
The work is split into four milestones inside this one challenge (see Milestones). Each milestone is a reviewed step on the same Pull Requests; the reward is paid once, on acceptance of the last one.
Repository and workflow
| Repositories | vinovalab/cards (services/card-service, frontend/apps/card-frontend, MobileApp), vinovalab/backbone-core (the push channel in services/alerting-service, the data bridge in services/data-service) |
| Working branch | feature/cards-v2-lead-capture in each repository |
| Target branch (PR) | main in each repository |
| Where your code lives | cards/services/card-service/ (new routes, modules, openapi.yaml, tests), cards/frontend/apps/card-frontend/src/, cards/MobileApp/lib/features/ (+ ios/, android/ for permissions and push), backbone-core/services/alerting-service/ (push channel only), backbone-core/services/data-service/routes/erpCardsCaptureInternal.js (+ its test) |
| Dev server | web: npm run dev from cards/frontend/apps/card-frontend, port 5181; service: ./compose.sh up -d card-service from cards/; app: flutter run from cards/MobileApp against the dev stack (dev_proxy.py for a device on the local network) |
You work from your personal dev-platform workspace (https://ws-<your-github-login>.vinovalab.ai, sign in with Cloudflare Access). Run ws-sync, then create feature/cards-v2-lead-capture from origin/main in each repository you touch. Run against the development stack with the dev users of the test organisation Seven Dwarfs Mining Co. (fictional data; Cards is already configured, with cards, profiles and a GDPR disclaimer, and the v2 flag is on): two card users (salespeople, each with an active card and a connected test mailbox) and one Cards organisation admin, all on demo.vinovalab.ai and each linked to an employee. The project coordinator gives you the passwords privately once your claim is accepted: never commit them. Each dev user has a real mailbox on demo.vinovalab.ai (webmail at https://purelymail.com/), so you can read the briefings, reports and recaps the system sends. A Firebase test project, the APNs key and a TestFlight / internal-testing build channel are provided by us; you never need store credentials.
Push only your branches and open one Pull Request per repository targeting main (gh pr create --base main). Open them as drafts as soon as milestone 1 has its first route: we review as you go. You do not publish the app: builds to TestFlight and Play internal testing are run by us from .github/workflows/mobile-release.yml.
The documents that govern the work
Read these before writing a line. Reviews cite their rule numbers and sections.
- Engineering guidelines: how code is written and reviewed here.
AGENTS.mdof each repository, and the READMEs ofcards/services/card-service,cards/MobileAppandbackbone-core/services/alerting-service.- The Cards v2 specification (
cards/docs/cards-v2-lead-capture.md, provided by us before the challenge opens): the product decisions behind this brief. - The existing Cards code, which is the reference for every pattern you need:
- the public form and the lead:
card-service/routes/publicCard.js,modules/moduloContatti.js(trap field, signed token, validation),modules/gdpr.js(disclaimer, versions, IP hash),modules/avvisoContatto.js(the owner notification throughalerting-service, idempotentrequest_id); - the calls to the LLM:
modules/llmGateway.jsandmodules/codaLlm.js(queue ofllm-gateway, prompts in blocks, user text only in data blocks, error codes), andmodules/designStudio.js(proposals that stay drafts until a human applies them: the same principle applies to every AI output here); - the data access:
modules/erpCards.js(internal tokens,perUtente),services/data-service/routes/erpCardsInternal.jsand its test; - the CSV export:
routes/erp.jsGET /erp/contatti/export.csv,modules/exportContatti.js(viewerp.cards_contatti_export, migration 382); - the app:
MobileApp/lib/features/leads(list, detail, edit),lib/core/api/api_client.dart,lib/l10n/*.arb,test/screens_screenshot_test.dart.
- the public form and the lead:
- The platform services you call (you do not change them, except the push channel):
alerting-service(POST /email/send),mail-ingestion-service(mailbox connectionPOST /accounts/oauth/:provider/connect,POST /accounts/imap, sendingPOST /accounts/:id/send),llm-gateway(queuesllm.request.*, contractbackbone-ai/packages/llm-processing-contracts),scheduler(HTTP jobs on cron rules),docs-service(audio files, if kept). - The design system (
@vinovalab/ui, from the rAIntyUserInterface:DESIGN_SYSTEM.md, the.rainty-*classes and--rainty-*tokens) for the web, the theme ofMobileApp/lib/core/themefor the app, and the@vinovalab/i18nREADME.
The documents in backbone-core/docs and the comments in the Cards code are in Italian; the code you write, the OpenAPI contract, the README and the PR are in English.
Backend rules
These are non-negotiable. A PR that breaks one is sent back before the functional review.
- One writer per domain.
card-serviceowns the lead capture: voice notes, briefings, recap drafts, campaigns, devices, signatures, reports, the check of the v2 flag. v2 does not touch CRM data:card-servicenever writeserp.accounts,erp.contacts,erp.contact_pointsorerp.crm_activities, not even through the bridge. data-serviceis only a bridge. The new route fileerpCardsCaptureInternal.js(/internal/erp/cards-capture, internal token with audiencedata-serviceand scopecards:capture.db) does whaterpPeopleInternal.jsdoes and nothing more: verify the token, filter every row on theorganization_id(and the user where needed) from the signed claims, write. No domain logic and no calls to other services indata-service. The current lead path inerpCardsInternal.js(POST /pubblico/:url/contatti) already orchestrates and is known debt: do not copy it, do not extend it.- The user comes from the session. Public routes take the user from
middleware/userContext.js(validated byauth-service). AnorganizationIdoruserIdin a body, query or header is refused with400 TENANT_FROM_CLIENT. Internal and scheduled routes take organisation and user only from the signed claims of the internal token. - Other capabilities stay with their owners. E-mails →
alerting-servicePOST /email/send; push notifications → the new push channel ofalerting-service(you build it, see §1); sending from the salesperson's mailbox →mail-ingestion-service; LLM and transcription →llm-gateway(never a provider directly, never an API key of a provider); timed jobs →scheduler; files →docs-service. - AI proposes, people decide. Every AI output (transcript, summary and fields of a note, recap draft) is stored as a proposal and shown as such. It becomes data only when the salesperson confirms it. Nothing the contact typed and nothing a person entered is ever overwritten by an automatic value. Prompts follow
modules/llmGateway.js: instructions and task are ours, everything that comes from a user or a contact goes only in the data blocks. - No new migrations without agreement. Every database change is an idempotent migration in
backbone-core, written by us. The objects listed in Data are written by us and applied on the development database before the challenge opens. If you need anything else (a column, an index, a view, a grant, a route of another service), do not add it and do not work around it: write it incards/PROPOSTA.mdand we answer within the next working day. - Contract first.
card-servicehas no OpenAPI contract today. You createcards/services/card-service/openapi.yamlwith every route you add or change (request, response, error codes), changed in the same commit as the route, and a test that fails if a route you added is not in it. The push route ofalerting-servicegoes in its own contract. - Idempotent and asynchronous. The public form answers as it does today (the visitor never waits for the briefing or any notification). The pipeline after a lead runs in the background, survives a restart of
card-service(BullMQ on the existing Redis, ascodaLlm.js), and never sends the same briefing, push, report or recap twice (request_idderived from the ids, asavvisoContatto.jsdoes). - Personal data. Transcripts, summaries, notes and recap bodies are encrypted at rest by
datahub(column encryption, as migration 420): read and write them only throughdata-service, never log them, never put them in events, never search or sort on them. Audio is sent only tollm-gatewayand deleted as soon as the transcript is confirmed. Push payloads carry ids and at most name and company (as the current notification e-mail), never e-mail, phone or notes. Logs carry ids only.
Web and app rules
- Web style.
card-frontendfollows the rAIntyUserInterface: same tokens,.rainty-*classes, density; components undersrc/components/<area>/, no component defined inside a page file; never a hard-coded colour. - App style. The app follows its own theme (
lib/core/theme) and the structurelib/features/<feature>/{models,services,providers,views}with Riverpod, as the existing features. Light and dark on every screen (the app already follows the phone or the saved choice). - Themes without JavaScript. On the web, both themes only through Tailwind
dark:variants or CSS variables; never read the theme in JavaScript. - i18n. Web: every string through
t()from@vinovalab/i18n, keys in bothsrc/locales/it.jsonanden.json. App: every string inlib/l10n/app_it.arbandapp_en.arb(test/l10n_keys_test.dartmust pass). Dates and numbers through the current locale (AppFormatin the app). API error codes are translated by key, never shown raw. Generated texts (summary, recap) are in the language of the person who reads them: the salesperson's for the summary, the contact's (from the form) for the recap. - One API. Web and app call only
card-service(andmail-ingestion-servicefor the mailbox connection flow, through the same session). Permissions and the v2 flag come fromGET /erp/me(new fieldcapabilities); hiding a button is a courtesy, the server decides. - App permissions. Microphone and notifications are asked when first needed, with a sentence that says why (
NSMicrophoneUsageDescription, AndroidRECORD_AUDIOandPOST_NOTIFICATIONS); a refused permission leaves a usable app (typed note instead of voice, no push but e-mail). - Responsive. Web screens work at 375 px with no horizontal page scroll, and on desktop. In the app, the note, the recap approval and the briefing are designed for one hand.
- Parity. Every action of the app (approve a recap, confirm a note, record a note as text) is also possible on the web: the web is where a salesperson without the app, and the admin, work.
Visual reference
The v1 mockups are in cards/design/mockups/cards-mobile-mockups.html and cards-web-mockups.html. There are no mockups for v2: build the new screens from the existing ones (lead list and detail, card sheet, settings) and the design system.
Use the impeccable skill. It is installed in your workspace and required for every web screen: to build and for the final review pass (polish, layout, responsive, accessibility). For the app, the screenshots of test/screens_screenshot_test.dart (light and dark, Italian and English) are the review material: extend them to the new screens.
Who uses it
| Role | Can |
|---|---|
Card user (cards_user, the salesperson) |
everything on their own leads: record or type a note, confirm or edit the proposed summary and fields, read briefings, approve, edit or discard recaps, connect their mailbox, generate their signature, join an active campaign, receive the evening report; turn push and the report off for themselves. |
Cards organisation admin (cards_organization_admin) |
everything above on their own leads; create, activate and close campaigns; see campaign statistics for the whole organisation; edit the GDPR disclaimer (already in v1). |
Card designer (cards_card_designer) |
as v1; nothing new. |
A card user never sees another salesperson's leads, notes or recaps. Cards accounts are created only by the organisation admin: there is no sign-up, and nothing in v2 changes that.
Screens and behaviour
1. Push notifications (foundation)
- Channel.
alerting-servicegets a push channel next toemail.js,telegram.jsandwhatsapp.js:POST /push/sendwith an internal token (scopealerting:send), a list of device tokens, title, body, a data payload of ids and arequest_idfor idempotency. It sends through Firebase Cloud Messaging HTTP v1 for Android and iOS (APNs through FCM), with credentials from the environment (.secrets), and returns the tokens the provider rejected as unregistered. It does not know what a lead is. - Devices. The app registers its token after sign-in and on token refresh (
POST /app/devices), removes it on logout (DELETE /app/devices/{id});card-servicekeeps the registry through the bridge and disables the tokensalerting-servicereports as unregistered. A user can have several phones. - App.
firebase_messaginginMobileApp, iOS capability Push Notifications and background mode, Android 13+ permission. A tap opens the right screen (briefing, recap, report) after biometric unlock if it is on. In the foreground a banner inside the app, not a system notification. - Settings. In the app and on the web: push on/off per kind (briefing, recap ready, evening report), e-mail report on/off.
2. Voice note after the conversation
- From the lead detail (and from the new-lead notification): Record note (hold or tap to start and stop, max 3 minutes, level meter, discard) or Type note. Upload with retry when the network comes back; the note is never lost on a bad network.
- The audio goes to
llm-gatewayfor the transcript, then the transcript tollm-gatewayfor a summary and structured fields: interest (what they want), product or service (one of the organisation's list if configured, else free text), urgency (low, medium, high), next step (text and optional date). - The salesperson sees transcript, summary and fields as a proposal, edits them and confirms. Only then the note counts: it is saved on the lead, it is shown in the briefing (§3) and it feeds the recap (§4).
- Errors (LLM credit exhausted, timeout, audio not understood) are shown with the codes of
codaLlm.js; the audio stays on the phone until a retry or a typed note replaces it.
3. Briefing to the salesperson
- Shortly after a new lead, the card owner receives one e-mail (through
alerting-service) and one push notification. For organisations with the v2 flag on it replaces the current "new contact" e-mail ofavvisoContatto.js; with the flag off the current e-mail stays as it is. - Content: the contact as left on the card (name, role, company as typed), the campaign if any, the summary of the salesperson's confirmed note when it is ready, and a link to the lead in the app and on the web.
- The e-mail does not carry the visitor's e-mail, phone or message: as in
avvisoContatto.jstoday, they are read in the app or on the web, after sign-in. - No WhatsApp, no bot, no reply to the briefing: it is read-only.
4. Recap e-mail to the contact, approved in the app
- When the salesperson confirms a note (§2), a recap draft is generated for the contact: thanks, what was discussed and the agreed next step, only from the salesperson's confirmed note, never from anything else stored about the contact or the organisation. In the contact's language, with the salesperson's signature (§7).
- A push "Recap ready for Mario Rossi" opens the approval screen in the app (also on the web, in the lead detail): subject and body with Send, Edit (then Send) and Discard. Nothing is sent without an explicit Send. Automatic sending is out of scope.
- Sending goes from the salesperson's own mailbox through
mail-ingestion-servicePOST /accounts/:id/send(Gmail through the API, Microsoft 365 / Outlook and any IMAP/SMTP mailbox through SMTP, with the copy in Sent). The salesperson connects the mailbox once from the settings of Cards, with the existing OAuth and IMAP flows; the connection is used only to send. A sent recap is logged on the lead (date, subject). - Disclaimer gate. A recap is offered only for a contact whose disclaimer acceptance is recorded (
erp.cards_gdpr_accettazioni, that is a contact that came from the public form) and who is not marked do not contact. For the other leads (typed by hand, imported) the approval screen says why and Send is disabled.
5. Evening report
- On days with at least one new contact, at the configured time (default 19:00 in the organisation's time zone), each salesperson with new contacts gets an e-mail and, if enabled, a push: how many contacts, the list (name, company, campaign), the notes still to record or confirm, the recaps waiting for approval. No report on days without new contacts.
- The job is a
schedulerHTTP job that calls an internal route ofcard-service(POST /internal/reports/evening); the route decides who gets what, and is idempotent per user and day.
6. Campaigns (trade fair mode)
- The admin creates a campaign with name and code (code unique in the organisation, e.g.
FIERA-MI-26), optional description, start and end dates and the participants (everyone or chosen people). A campaign is draft, active or closed; it is activated and closed by hand, or by its dates. - While a campaign is active, every contact collected by a participant (public form, manual lead in the app) is linked to the campaign and carries its code in Cards, and the CSV export (
GET /erp/contatti/export.csv) gets a campaign filter and column. "Trade fair mode" in the app is exactly this: the app shows the active campaign in the leads tab, and the participant can join or leave it from there. A participant is in at most one active campaign at a time. - Statistics per campaign (admin), from Cards data only: opens, vCards saved, passes added and contacts per day, channel and person (from the existing statistics,
GET /erp/statistiche); notes recorded, recaps sent.
7. E-mail signature from the card
- In the app (card sheet) and on the web (Profile): E-mail signature builds a signature from a card profile: name, role, company, the visible phones and e-mail, website, logo and colours of the organisation layout, and a link to the public card. It respects the profile's visible fields and the fields managed by the company.
- Output: HTML made for e-mail clients (tables and inline styles, images by public URL, no external CSS, works in Gmail, Outlook and Apple Mail, light and dark), plain text, Copy and short instructions per client. The same signature closes the recap e-mails (§4).
- Opens from the signature link are counted as their own channel in the statistics.
8. Switching v2 on
- The v2 features (§1–§7) are switched on per organisation by one flag set by Vinova Lab. There are no purchase screens, no plans and no limits in v2.
card-servicereads the flag, returns it inGET /erp/me(capabilities) and refuses every v2 route with403 FEATURE_NOT_ENABLEDwhen it is off. The screens do not show the v2 features when the flag is off; with the flag off, v1 behaves exactly as today.
The API
Base path /card-service, as today. Responses keep the current Cards style ({ ok, data } from the bridge, JSON bodies with error and code); new routes return { "data": … } and errors { "error": { "code", "message" } } with a stable code, described in openapi.yaml. Every v2 route answers 403 FEATURE_NOT_ENABLED for an organisation with the flag off. The routes below are the expected set; names may change in your contract, the behaviour may not.
| Group | Routes (new unless marked) | Key rules |
|---|---|---|
| Session | GET /erp/me (changed: capabilities, notification settings) |
The v2 flag, push and report preferences. |
| Devices | POST /app/devices, DELETE /app/devices/{id} |
Token, platform, app version; one row per phone. |
| Notes | POST /leads/{id}/notes (audio or text), GET /leads/{id}/notes, POST /leads/{id}/notes/{noteId}/confirm, DELETE …/{noteId} |
Audio max 3 min and 10 MB; processing asynchronous with a state the app polls or receives by push. |
| Briefing | GET /leads/{id}/briefing |
What the e-mail said, plus the note summary once confirmed, for the app screen. |
| Recaps | GET /leads/{id}/recaps, PATCH /recaps/{id} (draft only), POST /recaps/{id}/send, POST /recaps/{id}/discard |
Send checks disclaimer acceptance, do not contact, mailbox; idempotent. |
| Mailbox | GET /me/mailbox |
Which connected mailbox is used to send; the connection itself goes through mail-ingestion-service. |
| Campaigns | GET/POST /admin/campaigns, GET/PATCH /admin/campaigns/{id}, POST …/activate · /close, GET …/statistics; GET /campaigns/active, POST /campaigns/{id}/join · /leave |
Code unique per organisation; one active campaign per participant. |
| Signature | GET /erp/me/signature?profilo_id= |
HTML and text from the profile. |
| Leads | GET /leads/me (changed: campaign, note and recap state), GET /erp/contatti/export.csv (changed: campaign) |
Shape of v1 kept; new fields only added. |
| Internal | POST /internal/reports/evening (scheduler), the pipeline jobs |
Internal token, audience card-service. |
alerting-service: POST /push/send (internal token, scope alerting:send), described in its README.
The bridge (/internal/erp/cards-capture in data-service) exposes only what card-service needs on the tables of Data: read, insert and update with the organisation filter from the token, and the user filter for the per-user rows (notes, recaps, devices).
Data (ours)
These objects are written by us in one migration and applied on the development database before the challenge opens. You use them; you do not create them.
- devices of the app (user, token, platform, app version, active);
- voice and text notes of a lead (state, transcript and summary encrypted, structured fields, confirmed by and at, audio reference while it exists);
- briefings and recaps (lead, state draft / sent / failed / discarded, subject and body encrypted, mailbox used, sent at,
request_id); - campaigns (code, name, description, dates, state) with participants, and the link lead ↔ campaign;
- notification preferences per user, report runs per user and day;
- the organisation's v2 flag (§8).
Tests
Tests are part of the deliverable, not a final extra.
card-service(node --test, against fakes of the bridge,llm-gateway,alerting-serviceandmail-ingestion-serviceas intest/helpers/fakeHttp.js; no real network in CI). At least:- tenant and session: an
organizationIdin the body, another user's lead, recap or note (404), a v2 route with the flag off (FEATURE_NOT_ENABLED); - the public form still answers at once and as in v1 when every downstream service is down;
- the briefing never contains the visitor's e-mail, phone or message (assert on the composed e-mail and push); sent once per lead even on retries; replaces the v1 notice only with the flag on;
- recap: built only from the confirmed note (a test with other data of the lead present that must not appear), not sent without Send, refused without a recorded disclaimer acceptance, with do not contact, without mailbox; sent once;
- campaigns: contacts collected while active carry the campaign and the code, those before activation and after closing do not; one active campaign per participant;
- evening report: nothing on a day without contacts; once per user and day;
- signature: hidden fields and managed fields respected; HTML escaped;
- every route you added is in
openapi.yaml.
- tenant and session: an
alerting-service:POST /push/sendscope check, idempotency onrequest_id, unregistered tokens returned, no credentials in logs.- Bridge (
backbone-core/services/data-service/test/erpCardsCaptureInternal.test.js): token and scope, organisation filter on every table, user filter on per-user rows. - Web (Vitest and Testing Library, fixtures from
openapi.yaml): note confirm and edit, recap approval states, campaign create and activate, signature copy, v2 features hidden with the flag off. - App (
flutter test): models and repositories of the new features, recap approval and note flows with a fake API, push routing to the right screen,l10n_keys_test.dart, and the screenshot test extended to the new screens (light and dark, Italian and English). - Manual check against the development stack, in the
cardsPR as a short table: each feature × role, app on a real iPhone and a real Android phone (push, microphone), web light and dark at 375 px and desktop, Italian and English; and the full path (below). - All test, build, typecheck and CI of both repositories are green.
Milestones
| # | Content | Review |
|---|---|---|
| 1 | Push channel in alerting-service; devices and push in the app; the bridge with its tests; openapi.yaml of card-service; capabilities and the v2 flag check (FEATURE_NOT_ENABLED); settings of notifications. |
We send a test push to your phones from the dev stack. |
| 2 | Voice and text notes with transcript, summary and fields; recap drafts, approval in the app and on the web, sending from the connected mailbox, disclaimer gate; e-mail signature. | Functional review on the dev stack with the two salespeople. |
| 3 | Briefing e-mail and push; campaigns, trade fair mode in the app, campaign statistics and export. | Same, with the admin. |
| 4 | Evening report through scheduler; manual check table; READMEs; polish with impeccable. |
Final acceptance. |
Expected deliverables
vinovalab/cards: the new routes, modules, jobs andopenapi.yamlofcard-servicewith tests; the new web screens with tests and locales; the new app features with tests, ARB keys, iOS and Android permission and push configuration;PROPOSTA.mdonly if you asked for changes.vinovalab/backbone-core: the push channel ofalerting-servicewith tests and README;services/data-service/routes/erpCardsCaptureInternal.js, its registration, its test. Nothing else in backbone-core.- In each README: how to run it, how the code is organised, which existing modules you reused, and every mismatch you found with this brief, with how you handled it.
Acceptance criteria
- the backend and app rules above hold (one writer per domain, bridge without logic, user from the session, capabilities with their owners, AI only as proposals, no new migration, contract first, idempotent and asynchronous, personal data; style, themes, i18n, one API, permissions asked when needed, responsive, parity);
- tests, builds, typecheck and CI are green in every repository touched, with no rule disabled or exception added;
- the full path works on the dev stack: the admin activates campaign
TEST-FAIR; a visitor leaves a contact on a participant's card; shortly after, the salesperson receives the briefing e-mail and push, and the contact is linked toTEST-FAIR; the salesperson records a voice note, confirms the summary and fields; a recap draft arrives by push, is edited and sent from the salesperson's connected mailbox, and lands in the contact's test mailbox with the card signature; that evening the salesperson receives the report; the campaign statistics count the contact; - nothing automatic overwrites a value typed by the contact or entered by a person, and every automatic value is shown as a proposal until confirmed;
- the briefing contains no e-mail, phone or message of the visitor (checked on the raw e-mail and push payload);
- a recap reaches the contact only after Send in the app or on the web; it contains only what the salesperson's note says; it is refused for a contact without a recorded disclaimer acceptance or with do not contact;
- with campaign X active, every contact collected by its participants is linked to X and carries its code; contacts collected before activation or after closing are not;
- no evening report on a day without new contacts, and never two on the same day;
- a v2 feature for an organisation with the flag off is refused by the API (
FEATURE_NOT_ENABLED), not only hidden; - push and e-mail are never sent twice for the same event, also after a restart of
card-serviceduring processing; - the public form of v1 behaves as before, and
GET /leads/mekeeps its v1 shape (fields only added); - nothing outside the paths listed in Expected deliverables changed, except what you list and justify in the PR.
Out of scope
Moved to version 3 of Cards:
- company recognition and enrichment: matching the contact's company by e-mail domain or name, fetching the company website, the "found automatically" proposals;
- anything that depends on the CRM: linking leads to CRM companies and contacts, "what the organisation already knows" in the briefing, notes and recaps as CRM activities, campaign codes as CRM tags, the internal routes of
crm-service; - campaign cost, ROI and value: contacts qualified, opportunities opened, value won;
- Stripe, plans by size, add-ons and plan limits (Checkout, Customer Portal, webhook, entitlements,
PLAN_LIMIT_REACHED); - the consent of the contact: link to the privacy notice next to the checkbox, consent propagated to the contact, a consent module. In v3 the rAInty model is reused:
rainty.clienti_consensi(migrationbackbone-core/db/postgres/migrations/300_rainty_clienti_dati_generici.sql, append-only history per type trattamento / marketing / profilazione / immagini, channel, who recorded it), today tied torainty.clientiand to be generalised onto the ERP contacts together with the CRM; - LinkedIn: the search link, the profile URL field, sending the URL to a bot;
- external CRM connectors: HubSpot, Salesforce, Pipedrive, generic webhooks;
- integration with the indexing engine (knowledge base of the organisation);
- the page of NFC media and printers, and sending orders directly to a printer;
- the rest of the original v3: automatic follow-ups, interest signals, booking links, OCR and on-device models (business card scanning and the like).
Also out of scope:
- WhatsApp in any form (briefing, approval, bot) and any two-way bot;
- automatic sending of recaps or any e-mail to a contact without a person pressing Send;
- reading or ingesting the salesperson's mailbox;
- any migration, table, view, grant or permission (backend rule 6); publishing the app to the stores;
- changing the CRM screens (VL020) or the People module.
Open points
These are being decided while the challenge runs. If an answer changes, we tell you and the delivery window pauses for the change.
- Transcription. Current answer: a
transcriptioncapability ofllm-gatewayprovided by us. - Audio retention. Current answer: deleted once the transcript is confirmed, or after 30 days if never confirmed.
- Report time. Current answer: 19:00 in the organisation's time zone, one setting per organisation.
- Legal basis of the recap. Current answer: the recorded acceptance of the v1 disclaimer is enough (§4).
If the brief is wrong
If something here turns out to be impossible or absent (a route of another service that does not behave as described, a table that is not there, a rule that contradicts another, a store or provider limit) say so on the challenge before you start working around it. A brief that is wrong is our problem, and the window pauses while you wait for an answer.