Send form data to Mailchimp via Logic Flow

I have set up an integration from WF to ClickUp previously and know how they should work.

I tried to set up an flow to send form data to Mailchimp but I get this error:

Yes I have checked my API key and added it twice.
I also tested successfully using Postman.

Any other things I could be doing wrong here?

Is Webflow essentially generating this code using the inputs in the flow?

Postman results:

{
“id”: “eec14ee7eb33cad661544e8e085d0498”,
“email_address”: “test-4@gmail.com”,
“unique_email_id”: “c154a26f2b”,
“contact_id”: “67b948a9c1d236ac170b01db0de81ecf”,
“full_name”: “”,
“web_id”: 565706057,
“email_type”: “html”,
“status”: “subscribed”,
“consents_to_one_to_one_messaging”: true,
“sms_phone_number”: “”,
“sms_subscription_status”: “”,
“sms_subscription_last_updated”: “”,
“merge_fields”: {
“FNAME”: “”,
“LNAME”: “”,
“ADDRESS”: “”,
“PHONE”: “”
},
“stats”: {
“avg_open_rate”: 0,
“avg_click_rate”: 0
},
“ip_signup”: “”,
“timestamp_signup”: “”,
“ip_opt”: “54.86.50.139”,
“timestamp_opt”: “2024-04-22T16:20:31+00:00”,
“member_rating”: 2,
“last_changed”: “2024-04-22T16:20:31+00:00”,
“language”: “”,
“vip”: false,
“email_client”: “”,
“location”: {
“latitude”: 0,
“longitude”: 0,
“gmtoff”: 0,
“dstoff”: 0,
“country_code”: “”,
“timezone”: “”,
“region”: “”
},
“source”: “API - Generic”,
“tags_count”: 0,
“tags”: ,
“list_id”: “dc67e8392b”,
“_links”: [
{
“rel”: “self”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498”,
“method”: “GET”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json
},
{
“rel”: “parent”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members”,
“method”: “GET”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/CollectionResponse.json”,
“schema”: “https://us7.api.mailchimp.com/schema/3.0/Paths/Lists/Members/Collection.json
},
{
“rel”: “update”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498”,
“method”: “PATCH”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json”,
“schema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PATCH.json
},
{
“rel”: “upsert”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498”,
“method”: “PUT”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Response.json”,
“schema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/PUT.json
},
{
“rel”: “delete”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498”,
“method”: “DELETE”
},
{
“rel”: “activity”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498/activity”,
“method”: “GET”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Activity/Response.json
},
{
“rel”: “goals”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498/goals”,
“method”: “GET”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Goals/Response.json
},
{
“rel”: “notes”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498/notes”,
“method”: “GET”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Notes/CollectionResponse.json
},
{
“rel”: “events”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498/events”,
“method”: “POST”,
“targetSchema”: “https://us7.api.mailchimp.com/schema/3.0/Definitions/Lists/Members/Events/POST.json
},
{
“rel”: “delete_permanent”,
“href”: “https://us7.api.mailchimp.com/3.0/lists/dc67e8392b/members/eec14ee7eb33cad661544e8e085d0498/actions/delete-permanent”,
“method”: “POST”
}
]
}

Hi @blairrorani , what is the header you’re having success with in Postman? Is
it Bearer token?

@memetican do you happen to know how to solve this?

FYI I used Basic Auth in Postman but API fails in Postman and Webflow.
I am pasting the API Key in exactly and verified every character.
What am I missing?

Thanks in advance.

I successfully pinged the API using Mailchimps instructions:

I suspect it is how Webflow is connecting to the API, but not sure how to inspect what is being sent.

Probably, but situations like this take time to test and debug, and the readonly designer link doesn’t give any access to Logic. More importantly, my schedule is packed.

I would recommend you try building it on another platform like Make, if you get that to work, you can more easily figure out if it’s possible to rebuild in Logic.

Thanks mate, sorry for random ping, I noticed you answer many questions on here :)

I’ve got everything working for a diff API and not sure why this would be any different especially following the offical Webflow Uni docs. But as you say testing and debugging are often required.

Here’s the tutorial I followed that doesn’t work for me despite setting up integrations and automation often.

Has anyone else got stuck with this not working?