New
Subscription Workflows & Email Notifications
When a subscription lifecycle event occurs — Payment Received, Add-On Selected, or Plan Upgraded — AgriFAAS Connect automatically triggers an operational workflow that notifies the operations team and provisions client services.
How the Workflow Triggers
- 1A client completes a Stripe checkout for a plan upgrade or add-on purchase.
- 2The Stripe webhook verifies the payment signature and creates or updates the subscription/add-on record in the database.
- 3Immediately after the record is saved, the system dispatches a rich-text HTML email to agrifaasconnect@gmail.com with the subject 'Add-On Purchased: Action Request for Client'.
- 4The email includes the event type, client workspace name, plan, add-on details, amount, and customer email — formatted with clear paragraphs, padded sections, and clean typography.
- 5Admin users receive an in-app notification flagged as high priority, prompting them to take action.
Email Notification Structure
The notification email sent to the operations team includes:
- Subject: "Add-On Purchased: Action Request for Client"
- Event details table: Event type, client workspace, workspace ID, plan, add-on name, amount, customer email, and date.
- Required Actions: Two highlighted action cards — (1) Kick Off Onboarding Services, (2) Provision Premium Support.
- In-app notification: Admin users also receive a high-priority notification in the app's notification center.
Supported Event Types
Payment Received
Triggered when a new subscription is created via Stripe checkout. The email prompts the team to begin onboarding.
Add-On Selected
Triggered when a one-off add-on (e.g., Extra Fields) is purchased. The email includes the add-on name and amount.
Plan Upgraded
Triggered when an existing subscription is upgraded to a higher tier (e.g., Bloom → Enterprise). The email includes the new plan name.