No results found. Try again with different words?

Search must be at least 3 characters.

Formats for adding message content in the Anthropic (Claude) action “Create Message”

You can enter message content inside the ‘Message’ field in the following different formats:

  • Example with a single user message:
    [{“role”: “user”, “content”: “Hello, Claude”}]

  • Example with multiple conversational turns:
    [
    {“role”: “user”, “content”: “Hello there.”},
    {“role”: “assistant”, “content”: “Hi, I’m Claude. How can I help you?”},
    {“role”: “user”, “content”: “Can you explain LLMs in plain English?”},
    ]

  • Example with a partially-filled response from Claude:
    [
    {“role”: “user”, “content”: “What’s the Greek name for Sun? (A) Sol (B) Helios (C) Sun”},
    {“role”: “assistant”, “content”: “The best answer is (“},
    ]

Was this article helpful?


Did not find a solution? We are here to help you succeed.

Formats for adding message content in the Anthropic (Claude) action “Create Message”

You can enter message content inside the ‘Message’ field in the following different formats:

  • Example with a single user message:
    [{“role”: “user”, “content”: “Hello, Claude”}]

  • Example with multiple conversational turns:
    [
    {“role”: “user”, “content”: “Hello there.”},
    {“role”: “assistant”, “content”: “Hi, I’m Claude. How can I help you?”},
    {“role”: “user”, “content”: “Can you explain LLMs in plain English?”},
    ]

  • Example with a partially-filled response from Claude:
    [
    {“role”: “user”, “content”: “What’s the Greek name for Sun? (A) Sol (B) Helios (C) Sun”},
    {“role”: “assistant”, “content”: “The best answer is (“},
    ]

Leave a Reply

Your email address will not be published. Required fields are marked *

Automate Your Business With SureTriggers

You can start for free. No credit card required.

Trusted by Thousands of Businesses
Built by Experienced Industry Experts
24/7 World Class Support Team
Scroll to Top