# ๐Ÿ”Œ Dealix โ€” Integrations & Subscriptions Needed **What Sami must still arrange for the system to operate at full capacity.** Current state: LAUNCHED + selling manually possible. Missing: automated multi-channel outreach + automated payment + monitoring accounts. --- ## ๐Ÿ”ด P0 โ€” Critical (blocks revenue or multi-channel) ### 1. Moyasar Live Activation | Item | Detail | |------|--------| | **Purpose** | Accept real customer payments automatically | | **Current status** | `account_inactive_error` | | **Action** | Complete KYC at https://dashboard.moyasar.com/settings/business | | **Requirements** | CR or freelance license ยท National ID/Iqama ยท IBAN ยท Business address | | **Cost** | 2.5% + 1 SAR per transaction | | **Time to activate** | 1-3 business days | | **Alternative for today** | Create sandbox `sk_test_...` key โ€” unlocks full technical verification within 10 min | | **What I do on receipt** | Update Railway env โ†’ redeploy โ†’ test 1 SAR โ†’ verify webhook โ†’ mark REVENUE_VERIFIED | ### 2. WhatsApp Business API (Meta Cloud API) | Item | Detail | |------|--------| | **Purpose** | AI responds to leads on WhatsApp (highest-converting Saudi channel) | | **Current status** | Code integration exists (`integrations/whatsapp.py`) but no credentials | | **Provider** | Meta WhatsApp Cloud API (direct) or Twilio/360dialog (easier) | | **Direct path** | https://developers.facebook.com/docs/whatsapp/cloud-api | | **Required env vars** | `WHATSAPP_VERIFY_TOKEN`, `WHATSAPP_APP_SECRET`, `WHATSAPP_ACCESS_TOKEN`, `WHATSAPP_PHONE_NUMBER_ID` | | **Cost** | Meta: ~$0.04-0.08 per business-initiated conversation (Saudi) ยท first 1,000 free | | **Time to activate** | Meta: 2-5 days (business verification). Twilio: same-day | | **Alternative** | Twilio WhatsApp (faster KYC, slightly more expensive) or 360dialog (Saudi-friendly) | --- ## ๐ŸŸก P1 โ€” Important (multi-channel reach) ### 3. Sentry (error monitoring) | Item | Detail | |------|--------| | **Purpose** | Catch production errors before customers complain | | **Current status** | SDK loaded in backend, `SENTRY_DSN` empty | | **Signup** | https://sentry.io โ†’ Create project "dealix" (Python/FastAPI template) | | **Cost** | Free tier: 5K errors/month (plenty for Dealix scale) | | **Time** | 5 minutes | | **Env var needed** | `SENTRY_DSN=https://@.ingest.sentry.io/` | ### 4. UptimeRobot (optional โ€” GitHub Actions already covers) | Item | Detail | |------|--------| | **Purpose** | Redundant monitoring with SMS alerts | | **Current status** | GitHub Actions scheduled_healthcheck runs every 15 min | | **Signup** | https://uptimerobot.com | | **Cost** | Free tier: 50 monitors, 5-min interval | | **Time** | 5 minutes | | **Skip if** | You trust GitHub Actions (recommended) | ### 5. HubSpot Free CRM | Item | Detail | |------|--------| | **Purpose** | Replace the manual `pipeline_tracker.csv` once you have 10+ customers | | **Current status** | Webhook endpoint ready at `/api/v1/webhooks/hubspot` | | **Signup** | https://www.hubspot.com/products/crm | | **Cost** | Free for unlimited contacts | | **Time** | 15 minutes | | **Env vars needed** | `HUBSPOT_API_KEY`, `HUBSPOT_PORTAL_ID` | ### 6. Calendly Paid Plan (Webhooks) | Item | Detail | |------|--------| | **Purpose** | Auto-notify backend when demo is booked (so we can send confirmation + log in CRM) | | **Current status** | Free Calendly URL works for booking; webhook endpoint exists at `/api/v1/webhooks/calendly` | | **Required** | Calendly Standard plan ($10/mo) for webhook access | | **Time** | 10 minutes setup after plan upgrade | | **Alternative** | Stay free + rely on email notifications (manual lag) | --- ## ๐ŸŸข P2 โ€” Nice to have (scaling) ### 7. PostHog (analytics) | Item | Detail | |------|--------| | **Purpose** | Track funnel events, conversion rates, user behavior | | **Current status** | SDK loaded, key in Railway (was leaked + rotated) | | **Signup** | https://posthog.com or self-host | | **Cost** | Free up to 1M events/month | | **Time** | 10 minutes | | **Env vars** | `POSTHOG_API_KEY`, `POSTHOG_HOST` | ### 8. Twitter/X API (for programmatic posting) | Item | Detail | |------|--------| | **Purpose** | Auto-post build-in-public updates | | **Current status** | Not integrated | | **Signup** | https://developer.twitter.com | | **Cost** | Basic: $100/mo ยท Free tier (read-only) exists | | **Skip if** | Manual posting by Sami is fine for first 3 months | ### 9. SendGrid / Resend (transactional email) | Item | Detail | |------|--------| | **Purpose** | Send welcome emails, payment confirmations, demo reminders | | **Current status** | Not integrated โ€” using manual Gmail | | **Signup** | https://resend.com (simpler) or https://sendgrid.com | | **Cost** | Resend: free 3K emails/month ยท SendGrid: free 100/day | | **Time** | 10 min + DNS records for domain auth | | **Env var** | `RESEND_API_KEY` or `SENDGRID_API_KEY` | ### 10. Domain: dealix.sa or dealix.ai | Item | Detail | |------|--------| | **Purpose** | Professional URL instead of voxc2.github.io/dealix | | **Current status** | Landing runs on github.io subdomain | | **Registrars** | dealix.sa: via SaudiNIC (requires CR) ยท dealix.ai: any registrar (~$80/year) | | **Cost** | `.sa`: 120 SAR/year (CR required) ยท `.ai`: $60-100/year ยท `.com`: $15/year | | **DNS** | Point to voxc2.github.io via CNAME + GitHub Pages custom domain setting | | **Time** | 30 min (once domain purchased) | ### 11. GitHub Actions Secrets | Item | Detail | |------|--------| | **Purpose** | Enable auto-deploy workflow `.github/workflows/railway_deploy.yml` | | **Current status** | Workflow exists but inactive (needs RAILWAY_TOKEN as secret) | | **How** | https://github.com/VoXc2/dealix/settings/secrets/actions โ†’ Add `RAILWAY_TOKEN` | | **Value** | The Railway API token you already provided | | **Time** | 1 minute | | **Benefit** | Every main push auto-deploys to Railway with smoke test | --- ## ๐ŸŽ Optional Power-Ups (post first revenue) ### 12. Apollo.io / Hunter.io (lead enrichment) Get Saudi business contacts with email + LinkedIn verified. - Apollo: $49/mo ยท 600 credits/month - Hunter: $49/mo ยท 500 searches ### 13. Loom (demo recording) Record async product demos to send as alternative to live calls. - Free up to 25 videos ### 14. Notion (customer-facing wikis) Create per-customer knowledge bases during onboarding. - Free personal plan sufficient ### 15. Figma (visual assets) Design proper Dealix logo, case study graphics, pitch deck visuals. - Free tier works --- ## ๐Ÿ“‹ Purchase Priority (if budget is tight) **Today (~$0):** - Moyasar sandbox: free - Sentry: free - HubSpot Free: free - GitHub Actions RAILWAY_TOKEN secret: free - Resend: free **Week 1 (~$30):** - Calendly Standard: $10/mo - Meta WhatsApp: pay-as-you-go (~$20 for first month of testing) **Month 1 (~$150):** - Domain dealix.sa: 120 SAR/year - Apollo.io starter: $49/mo **Month 3 (after first 3 customers):** - Upgrade HubSpot to Pro: $100/mo - Add Loom Business: $12/mo --- ## ๐Ÿšฆ What's Blocking Dealix From Full Autopilot | Blocker | Unblock | ETA | |---------|---------|-----| | Moyasar KYC | Sami submits business docs OR sends sandbox test key | 1-3 days OR instant | | WhatsApp API | Meta Business verification OR Twilio signup | 2-5 days OR 1 day | | Sentry DSN | Create project, send DSN to me | 5 min | | Email sender | Pick Resend/SendGrid, get API key | 15 min | | Domain | Purchase + DNS update | 30 min (after purchase) | **Most critical next step:** Moyasar sandbox key. Everything else can wait 7-14 days. --- ## ๐Ÿ” How Sami Provides Credentials Safely **DO NOT paste secrets in chat.** Instead: ### For Railway env vars (fastest): 1. Open Railway โ†’ Variables โ†’ Raw Editor 2. Paste the new key โ†’ Save โ†’ Redeploy 3. Tell me "WHATSAPP_ACCESS_TOKEN added to Railway" 4. I verify via env-var query (masked) and test integration ### For GitHub secrets: 1. Open https://github.com/VoXc2/dealix/settings/secrets/actions 2. Add secret โ†’ paste value โ†’ Save 3. I trigger workflow to verify ### For API keys I need to test (e.g., Sentry DSN, Moyasar test key): 1. Paste in a **temporary** issue comment on GitHub (I read it via API) 2. Delete the comment after I confirm use 3. OR send via encrypted channel (Signal, 1Password shared vault) **Never send credentials via WhatsApp or email in plain text.** --- ## ๐ŸŽฏ After All Integrations Are Live The system will: - โœ… Receive payments via Moyasar automatically - โœ… Reply to WhatsApp leads in Saudi dialect 24/7 - โœ… Log every error to Sentry with Slack alerts - โœ… Send welcome emails automatically via Resend/SendGrid - โœ… Sync leads + conversions to HubSpot CRM - โœ… Book demos via Calendly with webhook confirmation - โœ… Auto-deploy from GitHub push via Railway workflow - โœ… Track full funnel in PostHog **Total monthly cost at full capacity: ~$250/month** **Total setup time (if Sami focuses): ~6 hours spread over 2 weeks**