Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| infrastructure_roadmap [2025/08/19 18:28] – cornelius.reyneke | infrastructure_roadmap [2025/08/20 10:52] (current) – cornelius.reyneke | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Infrastructure Roadmap | + | === Infrastructure Roadmap === |
| - | === For Crowdfunding Campaign | + | == For Crowdfunding Campaign == |
| View our [[https:// | View our [[https:// | ||
| Infrastructure we still need: | Infrastructure we still need: | ||
| + | |||
| * Campaign Website | * Campaign Website | ||
| Line 19: | Line 20: | ||
| ======= Workflow 1: Mautic Contact Updated → Discord Invite(s) → Mautic + EspoCRM Sync → Invite Email ======= | ======= Workflow 1: Mautic Contact Updated → Discord Invite(s) → Mautic + EspoCRM Sync → Invite Email ======= | ||
| - | |||
| - | {{: | ||
| Purpose: | Purpose: | ||
| Line 27: | Line 26: | ||
| ==== Steps ==== | ==== Steps ==== | ||
| - | * Unordered List ItemTrigger: Mautic " | + | * Trigger: Mautic " |
| * Wait 0–3s (jitter to reduce concurrent updates) | * Wait 0–3s (jitter to reduce concurrent updates) | ||
| * Check if " | * Check if " | ||
| * If " | * If " | ||
| - | | + | * Check if VIP Discord invite link exists |
| * If not, wait 0.3–1.2s, re-fetch contact, check again | * If not, wait 0.3–1.2s, re-fetch contact, check again | ||
| * If still missing, issue VIP Discord invite link (via Discord API) | * If still missing, issue VIP Discord invite link (via Discord API) | ||
| Line 47: | Line 46: | ||
| * Try to retrieve Lead by contact attributes (typically email) | * Try to retrieve Lead by contact attributes (typically email) | ||
| * If not found, create Lead in EspoCRM (via HTTP POST) | * If not found, create Lead in EspoCRM (via HTTP POST) | ||
| + | |||
| + | {{: | ||
| === Outputs & Side Effects === | === Outputs & Side Effects === | ||
| - | * Unordered List ItemMautic | + | * Mautic |
| * Appropriate invite email is sent from Mautic. | * Appropriate invite email is sent from Mautic. | ||
| * A corresponding Lead exists in EspoCRM. | * A corresponding Lead exists in EspoCRM. | ||
| ======== Workflow 2: Stripe → VIP Coupon → Mautic Update → Coupon Email ======== | ======== Workflow 2: Stripe → VIP Coupon → Mautic Update → Coupon Email ======== | ||
| - | |||
| - | {{: | ||
| Purpose: | Purpose: | ||
| Line 73: | Line 72: | ||
| * Set contact " | * Set contact " | ||
| * Send email with coupon to contact (from Mautic) | * Send email with coupon to contact (from Mautic) | ||
| + | |||
| + | {{: | ||
| === Outputs & Side Effects === | === Outputs & Side Effects === | ||
| Line 89: | Line 90: | ||
| ==== Field Conventions (Mautic Contact) ==== | ==== Field Conventions (Mautic Contact) ==== | ||
| - | * Unordered List Itemvip_status: boolean | + | * vip_status: boolean |
| * promo_code: string (from Workflow 1) | * promo_code: string (from Workflow 1) | ||
| * discord_invite_link_vip / discord_invite_link_basic: | * discord_invite_link_vip / discord_invite_link_basic: | ||