Skip to main content
Question

How do I use GPT-4 in Zapier?

  • Nov 22, 2024 2:22 PM UTC
  • 7 replies
  • 372 views

Hi guys,

I’ve built zaps that retrieve URLs from an RSS feed. I then use these URLs in the OpenAI app Zapier as a source to edit the text from those pages. This works perfectly with gpt-3.5-turbo-instruct, but I’d really like to use GPT-4. However, when I try this, I get the following error:

Failed to create a prompt in OpenAI (GPT-4, DALL-E, Whisper)
[invalid_request_error] This is a chat model and not supported in the v1/completions endpoint. Did you mean to use v1/chat/completions?

I used the following model: gpt-4o-2024-11-20

Can someone tell me what I’m doing wrong?

Thanks in advance!

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

7 replies

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Nov 22, 2024 4:52 PM UTC

  • Author
  • Beginner
  • Nov 23, 2024 8:14 AM UTC

Hi ​@Troy Tessalone,

Thank you for your response! I am using the ChatGPT app (see the screenshot in my initial message), or am I doing something wrong? For some reason, it works when I select gpt-3.5-turbo-instruct as the model, but not when I select gpt-4o-2024-11-20. The output from gpt-4o-2024-11-20 should be better, which is why I’d prefer to use that one.

Thanks in advance for your reply!


Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Nov 23, 2024 4:21 PM UTC

JammerS
Forum|alt.badge.img+6
  • Zapier Staff
  • Nov 25, 2024 4:05 AM UTC

Hi ​@Niels123,
 
We just wanted to see how everything is going with your Zap. Did Troy's recommendation get the job done? Feel free to reach out if you need further assistance with your Zap. We're glad to address any concerns and assist you.
 
We're looking forward to your response.


  • Author
  • Beginner
  • Nov 28, 2024 12:29 PM UTC

Hi ​@Troy Tessalone thanks, I didn’t notice that at first. I will give this a try.

​​​​@JammerS Hi! Unfortunately haven’t had the time to test Troy’s recommendation. Will give this a try this week.

Thanks guys!


  • Author
  • Beginner
  • Dec 4, 2024 5:15 PM UTC

Hi ​@Troy Tessalone apologies for the delay.

It works! Didn’t realize that you have to use the ‘Conversation’ mode of the ChatGPT zap app to make it work. Thanks again!


ken.a
Forum|alt.badge.img+6
  • Zapier Staff
  • Dec 5, 2024 9:59 AM UTC

That’s an amazing news ​@Niels123! Also, thank you for looping back with an update here.

If you have any other questions, please don’t hesitate to reach out to the Community. We’re always happy to help! 🤗