Combine mailchimp with shopify customer tags
E-commerce email segments from shop tags
Shopify customer tags and Mailchimp list membership for segmentation UI. For "combine mailchimp with shopify customer tags", store MAILCHIMP_BASIC_AUTH, SHOPIFY_ACCESS_TOKEN in Secret Vault, call https://{{secrets.MAILCHIMP_DC}}.api.mailchimp.com/3.0/lists/{{query.listId}}/members?count=10 from a Worker, and let Bubble.io hit only https://realcomposer.com/v1/workspace/combine-mailchimp-with-shopify-tags with an rc_live_ client token.
Waterfall latency from multiple Mailchimp and Shopify requests
Bubble.io widgets often await Mailchimp and Shopify sequentially, multiplying TLS handshakes on cellular networks and amplifying failure rates.
- Race conditions between parallel manual fetches
- Higher mobile data usage from redundant JSON
- Timeouts when any upstream exceeds cellular RTT
How RealComposer Solves This at the Edge
Bind vault keys to the Worker
Add MAILCHIMP_BASIC_AUTH, SHOPIFY_ACCESS_TOKEN to RealComposer Secret Vault. Values decrypt only inside the Cloudflare Worker that calls the upstream.
Set headers, mapping, and cache TTL
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.
Connect Bubble API Connector
Authorize with Bearer rc_live_ and fetch the mapped JSON contract your UI already expects.
API Connector GET https://realcomposer.com/v1/workspace/combine-mailchimp-with-shopify-tags
Private header: Authorization Bearer rc_live_your_token
{
"requestId": "req_combine-",
"upstreamLatencyMs": 142,
"audit": {
"region": "edge",
"trace": "combine-mailchimp-with-shopify-tags"
},
"payload": {
"id": "sample_id",
"status": "active",
"nested": {
"tags": [
"demo"
],
"internal": true
},
"unused_blob": {
"foo": "bar",
"bar": "baz"
}
}
}
{
"mailchimp_memberId": "sample",
"mailchimp_email": "sample",
"shopify_productId": "sample",
"shopify_title": "sample"
}
Recipe Specs
- HTTP method
- GET
- Upstream calls
- 2
- Edge cache TTL
- No caching
- Client auth
- Restricted client token
- Mapped output fields
- 4
- Payload
- 254 B to 112 B (-56%)
curl -X GET "https://realcomposer.com/v1/workspace/combine-mailchimp-with-shopify-tags" \ -H "Authorization: Bearer rc_live_client_token"
Developer Questions & Troubleshooting
Which Mailchimp credential belongs in the vault for this pipeline?
Store MAILCHIMP_BASIC_AUTH, SHOPIFY_ACCESS_TOKEN for combine-mailchimp-with-shopify-tags. Bubble.io never sees decrypted values.
Does POST traffic get cached?
combine-mailchimp-with-shopify-tags POST steps bypass caches.default even if cacheTtlSeconds is set in the dashboard.
Can I restrict which domains call this pipeline?
Rotate vault secrets for combine-mailchimp-with-shopify-tags anytime; clients keep the same rc_live_ token.
Sources & Definitions Used in This Answer
Deploy this Bubble.io + Mailchimp, Shopify Recipe
Clone this pre-configured pipeline into your RealComposer workspace in one click. We pre-populate upstream URLs, headers, and mapping rules.