I am trying to integrate our app into Zapier. I am getting success and a response with an auth_token and userId using basic auth on hitting our portal login API. (See screenshots)
My question is, how can I take the auth_token and userId from the response and use them in the trigger, as they are required to hit different API in our app?
I tried using StoreClient to store the token but I am getting StoreClient is undefined error.
Please provide explaination in layman's terms.
Thanks in advance!
Best answer by connorz
Hey @Ikhlas Azmat ,
It looks like the integration is currently using Basic authentication, correct?
If so, as you found, Basic auth does not store the token.
Instead, I might suggest checking out Session authentication:
Session auth allows you to make a token exchange request, and the token is stored as a property on `bundle.authData` so it can be accessed and used in triggers and actions.
For user id, you might consider creating a computed field:
Session auth allows you to make a token exchange request, and the token is stored as a property on `bundle.authData` so it can be accessed and used in triggers and actions.
For user id, you might consider creating a computed field:
Thank you very much for the quick response! @connorz
I will try to implement the session auth and follow through with the update.
ZapConnect 2026 is coming
Join us September 23rd, 2026 for a free, one-day virtual event with 30+ sessions on AI automation. Get live build-alongs, playbooks, and strategies to lead AI transformation at your organization.