v1
Internal
Internal

Trigger Application Followup

Changed on

Setup nudges for network applications that never finished.

Called DAILY by workers/notification_scheduler.py. Like the partner email this reaches people who are not our users, so it has its own master switch (APPLICATION_FOLLOWUP_ENABLED, default false) and returns skipped_disabled while off - "is it wired up" stays separable from "is it sending".

Cadence is day 2, day 5, day 9, then weekly, stopping when the shop exists and stopping entirely at six weeks. Which nudge is due is DERIVED from the application's created_at on every sweep; only the last send is stored. claim_application_followup makes the send-and-stamp one statement, so two sweeps cannot both mail the same applicant.

force=true (paired with application_id) is the real manual-resend lever, for when support cannot wait out the next scheduled nudge. The platform-admin "Resend" action in shops_admin.py calls this with force, scoped to one application.

post/api/v1/internal/application-followup

Request

  • Base URL
    https://api.jeevyfabrication.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Query parameters

dry_run, boolean

Compose and report without claiming or sending

as_of, string nullable

ISO timestamp to evaluate the cadence at (testing only). Lets the whole six-week sequence be replayed in seconds.

application_id, string nullable

Limit to one application (testing, or with force=true)

force, boolean

With application_id: send right now regardless of the cadence schedule. Bypasses due_days() and the claim's interval floor, but still honors fetch_stalled's own eligibility (opted out / already has a shop / past the 6-week cutoff still block it).

Headers

X-Internal-Key, string nullable

Response

Successful Response

object required

Changes