Best answer

Workaround needed /\ Anthropic AI Claude 3 Opus & Claude 3 Sonnet are not in the options of Zapier

  • 8 March 2024
  • 8 replies
  • 539 views

Userlevel 1

Anthropic seems to not care much about the Zapier community. 

I have been waiting for the Claude 2.1 for a few months, but it never surfaced..

 

Now Anthropic AI Claude 3 is out,… and still only 2.0 is available on Zapier.

 

Do you know any workaround to use it with Zapier ?

Does entering as a custom value instead of the limited and outdated option would work ?

 

 

icon

Best answer by stevensoto 13 March 2024, 12:16

View original

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

8 replies

Userlevel 7
Badge +14

Hi @Universus 

If you know the Model internal ID (bottom value), then you can use the ‘CUSTOM’ tab to set that value and try testing.

 

 

Userlevel 1

I’ll try it out and let you know ^  (in a few hours).

Yeah, I should have tried that first 😅 

Userlevel 1

I’ve only been able to use Claude 2.1 with the custom field. I get an error for 3-opus and 3-sonnet:

Failed to create a conversation in Anthropic (Claude)

"claude-3-sonnet-20240229" is not supported on this API. Please use the Messages API instead.

I’m still new to Zapier so I might be doing something wrong on my end.

Userlevel 1

@stevensoto 

True, I get the same error. 
Good to know it works for the 2.1

 

Userlevel 1

It's possible to get Claude Opus and all other models working through a Webhook. This requires Premium functionality to perform a Custom Request.

 

 

You want to do a POST call to the messages endpoint: https://api.anthropic.com/v1/messages

In the Data field you will pass the model name, tokens, your prompts and other parameters & even image URLs if you want to use multi-modal capabilities.

More documentation here (copy from the Python code samples).

 

In the headers it's important to pass your API key which you can get here: https://console.anthropic.com/settings/keys

 

With all of this setup, you should be able to successfully make a call and verify that it's working by checking the model name in the output.

 

Userlevel 1

It's possible to get Claude Opus and all other models working through a Webhook. This requires Premium functionality to perform a Custom Request.

 

 

You want to do a POST call to the messages endpoint: https://api.anthropic.com/v1/messages

In the Data field you will pass the model name, tokens, your prompts and other parameters & even image URLs if you want to use multi-modal capabilities.

More documentation here (copy from the Python code samples).

 

In the headers it's important to pass your API key which you can get here: https://console.anthropic.com/settings/keys

 

With all of this setup, you should be able to successfully make a call and verify that it's working by checking the model name in the output.

 

@Serge 

Thank you for your answer, 

It is clearly the best one.   A real solution. 

Sadly, I don’t seem to be able to modify who gave the best answer…!   but thank you for this one ! 

👍 

It's possible to get Claude Opus and all other models working through a Webhook. This requires Premium functionality to perform a Custom Request.

 

 

You want to do a POST call to the messages endpoint: https://api.anthropic.com/v1/messages

In the Data field you will pass the model name, tokens, your prompts and other parameters & even image URLs if you want to use multi-modal capabilities.

More documentation here (copy from the Python code samples).

 

In the headers it's important to pass your API key which you can get here: https://console.anthropic.com/settings/keys

 

With all of this setup, you should be able to successfully make a call and verify that it's working by checking the model name in the output.

 

@Serge

Thank you for your answer, 

It is clearly the best one.   A real solution. 

Sadly, I don’t seem to be able to modify who gave the best answer…!   but thank you for this one ! 

👍 

this works but unable to put in a system message as well as the user. all information is correct bc when I have it like yours, it works but if I add in system, I get invalid_request_error. Sorry if I sound like a noob but ive tried every which way and does not work with assistant/system message added...any guidance would be GREATLY appreciated

Userlevel 1

@Cascano try it like this: 

I was able to get a response: 

 

There’s a bit more info about additional messages and roles here: https://docs.anthropic.com/claude/reference/migrating-from-text-completions-to-messages