Enroll Membership Members
neuron_enroll_membersManually enroll existing / off-platform people into a membership product WITHOUT a payment. Use this to backfill members who were already in the WhatsApp group before you switched membership on, so the renewal + eviction cycle applies to them too. No order or revenue is booked. Each enrolled member gets a free first period (firstPeriodDays, or one normal interval by default), then renews like everyone else — reminder-only until they connect a Neuron account (no auto-charge). Existing members are left untouched (counted as skipped). Returns { enrolled, skipped, total }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Product UUID (must be a membership product) | |
| silent | No | Suppress the membership.started event so welcome/onboarding flows don't fire — recommended for a bulk backfill of people who are already in. | |
| members | No | People to enroll. Omit when using fromGroup. | |
| fromGroup | No | Pull every current participant of the product's attached group and enroll them all. | |
| addToGroup | No | Also add each phone to the attached WhatsApp group (for people not yet in it). Default false = assume they're already in. | |
| firstPeriodDays | No | Free days before their first renewal. Omit to grant one normal interval (daily/weekly/monthly). |