$npx -y skills add ominou5/funnel-architect-plugin --skill marketing-stackIntegration guide for connecting funnels to marketing tools. Covers email providers (Mailchimp, ConvertKit, ActiveCampaign), payment processors (Stripe), CRM (HubSpot), and automation platforms.
| 1 | # Marketing Stack Integrations |
| 2 | |
| 3 | Connect your funnel to the tools that make it work: email, payments, CRM, and automation. |
| 4 | |
| 5 | ## Email Service Providers |
| 6 | |
| 7 | ### Mailchimp |
| 8 | ```html |
| 9 | <!-- Mailchimp Embedded Form --> |
| 10 | <form action="https://YOUR-ACCOUNT.us1.list-manage.com/subscribe/post?u=XXXX&id=XXXX" method="post"> |
| 11 | <input type="email" name="EMAIL" placeholder="Email" required> |
| 12 | <input type="hidden" name="tags" value="funnel-lead"> |
| 13 | <button type="submit">Subscribe</button> |
| 14 | </form> |
| 15 | ``` |
| 16 | |
| 17 | ### ConvertKit |
| 18 | ```html |
| 19 | <!-- ConvertKit Form --> |
| 20 | <form action="https://app.convertkit.com/forms/FORM_ID/subscriptions" method="post"> |
| 21 | <input type="email" name="email_address" placeholder="Email" required> |
| 22 | <input type="hidden" name="tags[]" value="TAG_ID"> |
| 23 | <button type="submit">Subscribe</button> |
| 24 | </form> |
| 25 | ``` |
| 26 | |
| 27 | ### ActiveCampaign |
| 28 | ```html |
| 29 | <!-- ActiveCampaign Form --> |
| 30 | <form action="https://ACCOUNT.activehosted.com/proc.php" method="POST"> |
| 31 | <input type="hidden" name="u" value="FORM_ID"> |
| 32 | <input type="hidden" name="f" value="FORM_ID"> |
| 33 | <input type="email" name="email" placeholder="Email" required> |
| 34 | <button type="submit">Subscribe</button> |
| 35 | </form> |
| 36 | ``` |
| 37 | |
| 38 | ## Payment Processing |
| 39 | |
| 40 | ### Stripe Checkout |
| 41 | ```javascript |
| 42 | // Redirect to Stripe Checkout |
| 43 | async function handlePurchase() { |
| 44 | const response = await fetch('/api/create-checkout-session', { |
| 45 | method: 'POST', |
| 46 | headers: { 'Content-Type': 'application/json' }, |
| 47 | body: JSON.stringify({ |
| 48 | priceId: 'price_XXXXXXXXXXXXXXXX', |
| 49 | successUrl: window.location.origin + '/thank-you', |
| 50 | cancelUrl: window.location.origin + '/offer' |
| 51 | }) |
| 52 | }); |
| 53 | const { url } = await response.json(); |
| 54 | window.location.href = url; |
| 55 | } |
| 56 | ``` |
| 57 | |
| 58 | ### Stripe Payment Link (No-Code) |
| 59 | ```html |
| 60 | <a href="https://buy.stripe.com/XXXXXX" class="cta-primary"> |
| 61 | Buy Now — $297 |
| 62 | </a> |
| 63 | ``` |
| 64 | |
| 65 | ## CRM Integration |
| 66 | |
| 67 | ### HubSpot Form |
| 68 | ```html |
| 69 | <script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/v2.js"></script> |
| 70 | <script> |
| 71 | hbspt.forms.create({ |
| 72 | region: "na1", |
| 73 | portalId: "YOUR_PORTAL_ID", |
| 74 | formId: "YOUR_FORM_ID", |
| 75 | target: "#hubspot-form" |
| 76 | }); |
| 77 | </script> |
| 78 | <div id="hubspot-form"></div> |
| 79 | ``` |
| 80 | |
| 81 | ## Webhook Integration (Universal) |
| 82 | For any tool that supports webhooks: |
| 83 | ```javascript |
| 84 | // Send form data to a webhook |
| 85 | document.querySelector('form').addEventListener('submit', async (e) => { |
| 86 | e.preventDefault(); |
| 87 | const formData = new FormData(e.target); |
| 88 | const data = Object.fromEntries(formData); |
| 89 | |
| 90 | await fetch('https://hooks.your-automation.com/webhook/XXXX', { |
| 91 | method: 'POST', |
| 92 | headers: { 'Content-Type': 'application/json' }, |
| 93 | body: JSON.stringify(data) |
| 94 | }); |
| 95 | |
| 96 | window.location.href = '/thank-you'; |
| 97 | }); |
| 98 | ``` |
| 99 | |
| 100 | ## Integration Checklist |
| 101 | - [ ] Email provider connected (forms submit to list) |
| 102 | - [ ] Welcome email triggers on signup |
| 103 | - [ ] Payment processor connected |
| 104 | - [ ] Thank-you page redirects correctly after purchase |
| 105 | - [ ] CRM receives lead data |
| 106 | - [ ] Tags/segments applied automatically |
| 107 | - [ ] Automation sequences triggered |