{
  "slug": "mailchimp-subscribe-framer-contact-form",
  "title": "Mailchimp subscribe api from framer contact form",
  "metaTitle": "Mailchimp subscribe api from framer - RealComposer",
  "metaDescription": "Mailchimp subscribe api from framer contact form. Real-time subscribe via edge instead of polling automat. Framer CORS fix for Mailchimp via.",
  "headline": "Framer lead capture without Zapier delay",
  "category": "ecosystem",
  "categoryLabel": "Platforms & Frameworks",
  "urgency": 8,
  "clientPlatform": "Framer",
  "upstreamServices": [
    "Mailchimp"
  ],
  "searchIntentQuery": "mailchimp subscribe api from framer contact form",
  "directAnswerSummary": "Real-time subscribe via edge instead of polling automation. For \"mailchimp subscribe api from framer contact form\", store MAILCHIMP_BASIC_AUTH in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let Framer hit only https://realcomposer.com/v1/workspace/mailchimp-subscribe-framer-contact-form with an rc_live_ client token.",
  "problem": {
    "title": "CORS blocks Mailchimp in Framer",
    "explanation": "Low-code Framer tools expose connector tokens in shared workspaces, so Mailchimp credentials leak to every editor.",
    "risks": [
      "Browser console CORS errors blocking launches",
      "Editors pasting secrets into reusable components",
      "Inability to test locally without disabling security"
    ]
  },
  "solutionSteps": [
    {
      "stepNumber": 1,
      "title": "Add vault secrets for this pipeline",
      "description": "Store MAILCHIMP_BASIC_AUTH in the vault. Framer never embeds the raw secret, only a revocable rc_live_ client token."
    },
    {
      "stepNumber": 2,
      "title": "Target the real upstream URL",
      "description": "Configure headersTemplate to inject vault secrets, target https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10, and Add output mapping fields that mirror the JSON contract your screen already expects."
    },
    {
      "stepNumber": 3,
      "title": "Fetch inside Framer overrides",
      "description": "Allowed origins on the token should list every Framer host that calls this URL.",
      "codeSnippet": "fetch('https://realcomposer.com/v1/workspace/mailchimp-subscribe-framer-contact-form', {\n  headers: { Authorization: 'Bearer rc_live_your_token' }\n});"
    }
  ],
  "pipelineConfig": {
    "name": "Mailchimp subscribe api from framer contact form",
    "method": "GET",
    "cacheTtlSeconds": 0,
    "authMode": "client_token",
    "steps": [
      {
        "stepKey": "mailchimp",
        "upstreamUrlTemplate": "https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10",
        "httpMethod": "GET",
        "headersTemplate": {
          "Authorization": "Basic {{secrets.MAILCHIMP_BASIC_AUTH}}"
        },
        "timeoutMs": 3000
      }
    ],
    "outputMapping": {
      "version": 1,
      "fields": [
        {
          "targetPath": "memberId",
          "sourcePath": "members.0.id",
          "type": "string",
          "sourceStep": "mailchimp"
        },
        {
          "targetPath": "email",
          "sourcePath": "members.0.email_address",
          "type": "string",
          "sourceStep": "mailchimp"
        },
        {
          "targetPath": "status",
          "sourcePath": "members.0.status",
          "type": "string",
          "sourceStep": "mailchimp"
        }
      ]
    }
  },
  "sampleBloatedInput": {
    "requestId": "req_mailchim",
    "upstreamLatencyMs": 142,
    "audit": {
      "region": "edge",
      "trace": "mailchimp-subscribe-framer-contact-form"
    },
    "payload": {
      "id": "sample_id",
      "status": "active",
      "nested": {
        "tags": [
          "demo"
        ],
        "internal": true
      },
      "unused_blob": {
        "foo": "bar",
        "bar": "baz"
      }
    }
  },
  "sampleSlimmedOutput": {
    "memberId": "sample",
    "email": "sample",
    "status": "sample"
  },
  "curlSnippet": "curl -X GET \"https://realcomposer.com/v1/workspace/mailchimp-subscribe-framer-contact-form\" \\\n  -H \"Authorization: Bearer rc_live_client_token\"",
  "faqs": [
    {
      "question": "Does Framer need CORS changes after adding RealComposer?",
      "answer": "Log request IDs for mailchimp-subscribe-framer-contact-form, not raw Mailchimp payloads, because upstream bodies may include PII."
    },
    {
      "question": "What cache key does RealComposer use?",
      "answer": "mailchimp-subscribe-framer-contact-form forwards client JSON to POST upstreams unchanged; secrets interpolate only in URLs and header templates."
    },
    {
      "question": "How do I rotate upstream credentials?",
      "answer": "Rotate vault secrets for mailchimp-subscribe-framer-contact-form anytime; clients keep the same rc_live_ token."
    }
  ],
  "relatedRecipeSlugs": [
    "call-rest-api-webflow-without-zapier",
    "call-mailchimp-from-webflow-securely"
  ],
  "updatedAt": "2026-11-20",
  "links": {
    "page": "https://realcomposer.com/recipes/mailchimp-subscribe-framer-contact-form",
    "markdown": "https://realcomposer.com/recipes/mailchimp-subscribe-framer-contact-form.md",
    "json": "https://realcomposer.com/recipes/mailchimp-subscribe-framer-contact-form.json",
    "install": "https://realcomposer.com/dashboard/pipelines/new?recipe=mailchimp-subscribe-framer-contact-form&via=agent"
  }
}