Working with Mailchimp

#1

Hi All,
I’ve recently started using flowxo, really like it! I have come up against an issue though and I’m looking for a solution if anyone has one.
I can add a user and all their info on to a mail list, that isn’t an issue. I can also get details from a list and check to see if they’re on it. The trouble is i’m struggling to do both. I had structured my flow so it would run an email against the list and if it was already there it would tell the user that they were already signed up. Trouble is, if they weren’t it wouldn’t continue on the flow to sign them up. Same issue when I took that out the flow, a user could sign up and then get a message confirming that, but if they were already signed up then it would hit the same kind of error again and the flow would stop.

I probably haven’t got the logic right, but any help would be appreciated!

Cheers.

(Joe Hatch) #2

Possibly a silly question, but when you set your condition did you check ‘if this is condition is met then stop the rest of the flow?’

#3

Hi Joe,
That wouldn’t help. The problem is if the condition is not met, I.e find can’t find an email or set can’t set an email in the mail chimp list then it throws an error so no further computations are made.
I’m working on designing another flow using attributes to try and work around this, I’ll let you know how I get on.

Cheers

(Joe Hatch) #4

What if you set the condition to only trigger if email is not empty?

#5

The problem is I need to do a get response from mailchimp to see if the user is already subscribed, if the get response doesn’t find a user then it throws an error and kills the flow. So I can’t do any sort of filter that says ‘if no email from mailchimp then do…’ because no actions past the mailchimp get response will trigger whether they have filters or not, the log shows an error stating user not found and doesn’t put out any kind of output as a handle to use for any other conditioning.
I’ve spent all day trying to work over various flows to find a way around it but I come up short each time.

Cheers.

(Kellsey Shaw) #6

Hi Wabbit,

The problem is that MailChimp returns a 404 code (an error code) when there is no matching subscriber. By default, the flow will stop if an error is thrown by any external service task but it is possible to get around this by using the Webhook & HTTP service to create your own request to MailChimp’s API.

A 404 status code would not result in an error thrown using the webhook service :thumbsup:

#7

I have the same issue @wabbit. Did you figure out a walkaround?

@kellseyshaw, can you share more on how Webbook & HTTP works in this scenario? I’m completely new to webhook and can’t figure it out… :frowning:

Also, will we be able to get the list of contacts in “get a list” function? So that it’s easier to verify if an email is existing on a list.