I used a formatter to extract the customer email address to get the Stripe customer to be sent an automated email from Flodesk.
Now, how do I get the Stripe customer first name and last name to be sent to Stripe and have the First Name separated from Last name so that I can send the automated personalized email message.
Try adding another Zap step: Stripe Find Customer
When I go to Find Customer then I’m given these two options.
When I select Customer ID and match it to the id then I get a fail “The app returned "No such customer: '[with the customer id]’”
If you already have the email address then use the other option: Customer Email Address
Ok this showed up:
But then it says:
I even just now changed the query to pull in the formatter description email address but then still get the same Bargle message.
Is this an actual email address that exists in Stripe?
Looks like it might be a dummy email address.
Yes it is my email address, I just cut off the rest of the domain for privacy. Here’s a screenshot from Stripe.
Did you authenticate the Stripe app in Zapier with a Test or Live mode API Key?
Stripe Test Mode
We use Stripe API keys for authentication, so you can connect a Stripe account by using your Stripe "test secret key".
If you do that, you can trigger your Zap from transactions in your Stripe account which were created in test mode. Stripe's test card numbers only work in their test mode:
However, if you connect to Stripe using the test secret key, your Zap will not trigger on any Live transactions in your Stripe account. To do that, you'd need to reconnect, or connect a new Stripe account, using your "live secret key" instead.
Yes I am doing a Stripe formatter in the first part of my zap so I know it’s connected properly. Is it because I’m runing two separate actions in one Zap that is making it not connect properly?
Action2. Text is formatting the email address and then I wanted to find the name so that I can have the name auto populate in my email provider.
I’m authenticated with live secret key
Make sure there are no leading/trailing blank spaces before the mapped value and from the extracted email address (Formatter > Text > Extract Email).
Also the trigger Stripe New Charge should return the Customer which is the Customer ID that could be used for the other Stripe Find Customer option.
Ok so yes the customer stripe ID does create a successful test but now I’m confused. I want to pull in the First Name of the customer and bring it back into my email provider so I can personalize the email.
Oh! Ok I see in the next step how I can pull in the name. Now it pulls in the full name, first and last. Can I just pull in the first for the First Name field and the last for a Last Name field?
Try this step: Formatter > Text > Split
Hm when I do that then this pops up - The test runs successfully but it doesn’t actually split the name.
You need to specify a separator: [:space:]
The test is successful but it still doesn’t do anything.
Then the next step shows output is blank.
When I go to the last step to Flodesk email provider under the action this is what appears.
There is no value for the mapped data point.
We used to have a handy hack where we triggered off Stripe and then used the metaID from Stripe to lookup the sale in Squarespace and get all of it’s information to populate other tools, unfortunately (this is like one of those kids’ good luck, bad luck stories…) it broke recently, possibly at the same time Squarespace deployed extensions. So… it’s possible what you’re trying to do has been broken as well. It may be that you have to use one of those many new extensions now the right data isn’t coming through from Stripe. (I don’t know if there’s anything on the road map to make Zapier connect better).
If not, here’s our recipe for how to make a Zap use a Stripe trigger to do cool things with Squarespace sales. https://www.optimi.co.nz/blog/2020/6/6/how-to-automate-with-squarespace-and-zapier-and-get-your-order-info-in-real-time
Note. Using the above approach means you don’t have to rely on customer info coming through from Stripe.