Skip to main content
Best answer

How do I pass a User ID using an OpenAI Zap?

  • December 20, 2022
  • 10 replies
  • 376 views

Good morning! I’m using the OpenAI Prompt integration to build out an SMS and FB Messenger flow for a new product and I love it. Everything is working amazing.

I’m just wondering if anyone knows how to pass a User ID using the zap? It isn’t a field you can set in Zapier when you build a zap, but it is available in the API for OpenAI.

I’m looking to add this so I can keep context for users when they message my bot. Basically right now without a user ID, the prompt replies all treat it like a brand new conversation without the history of the user’s questions, etc.

If it isn’t something possible yet, how do we request that feature/addition to the OpenAI integration?

Best answer by christina.d

Hey friends! Wanted to swing by and share some good news!

The ChatGPT app is now live and would work as an alternative solution for this use case! ⚡️

Check it out and keep us posted with any q’s! 🙂

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

10 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • December 20, 2022

Hi @jwilt 

Good question.

Feedback and feature requests can be submitted via a ticket to Zapier Support to be logged: https://zapier.com/app/get-help


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • December 21, 2022

Hey there, @jwilt! Thanks so much for reaching out - so glad the OpenAI seems to be working so far for you. 🤗

That’s great feedback on how userID’s can be used! As Troy mentioned, I’d recommend opening a ticket with my teammates in support and they can log a feature request for you. 🙂 While it doesn’t guarantee implementation it does allow us to track and gauge interest for new features in the app.

Thanks for flagging this in community!


  • Author
  • Beginner
  • December 21, 2022

Thanks! Just submitted to support.


  • Beginner
  • January 1, 2023

any update on this concern? Thanks!


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • January 4, 2023

Hey there, @Britz! Thanks for reaching out.

While I don’t have any updates, I did add your vote for this feature request. While it doesn’t guarantee the feature will be added, this is the best way to stay in the loop if and when this gets implemented as we’ll email you. 🙂 We’ll also be sure to share here in the thread as well.

We appreciate you sharing your feedback!


  • Beginner
  • January 4, 2023

Hey there, @Britz! Thanks for reaching out.

While I don’t have any updates, I did add your vote for this feature request. While it doesn’t guarantee the feature will be added, this is the best way to stay in the loop if and when this gets implemented as we’ll email you. 🙂 We’ll also be sure to share here in the thread as well.

We appreciate you sharing your feedback!

Thanks @christina.d . Did you manage to have an alternative like Webhook POST? I tried it, it gives me response from OPEN AI including its "id". But when I try to Post to openai api, it is not accepting the "id" . By any chance, do you know how to do it manually?


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • January 4, 2023

Great idea to try using a webhook instead, @Britz

I’ve done some checking and I’m not seeing any details of any webhook workarounds mentioned on that feature request. Did you get any error messages giving more details of the why the ID wasn’t accepted?

I’m thinking, if it’s not accepting the ID then maybe it’s being sent in a format that they weren’t expecting. I’m not super familiar with their API but looks like the Making requests section of their API documentation outlines how they are expecting webhook requests to be made:

c1b8d512b0d5253d6c8ad97f432cc68a.png

I’d recommend double-checking OpenAI’s API documentation to make sure that the webhook step you set up matches what they’re expecting to receive. 

Hope that helps, please do let us know how you get on with this! 


  • Beginner
  • January 5, 2023

@SamB , I was trying to post a prompt with different kinds of request arguments to maybe accept the “id”, “conversation_id” etc. of OPENAI API. I always get this kind of result:

 

Maybe it is not really ready yet for API to run for continuous conversation. I hope we soon we can have an identifier for the conversation.

 

Thanks!


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • January 10, 2023

Thanks for sharing this! Sorry to hear it still wasn’t working even with webhooks. 😔

We’ll be sure to email and keep the thread updated if and when that endpoint is supported on our end! 


christina.d
Forum|alt.badge.img+9
  • Zapier Staff
  • Answer
  • March 2, 2023

Hey friends! Wanted to swing by and share some good news!

The ChatGPT app is now live and would work as an alternative solution for this use case! ⚡️

Check it out and keep us posted with any q’s! 🙂