Discussions

Ask a Question

Wokflow using brand voice

How can take brand voice as input to workdlow
ANSWERED

Regarding carriers in copy ai

I wanted to know about the carriers in copy ai
ANSWERED

How to use Brand Voice in workflows ?

Hello team, I would like to incorporate the brand voice into my workflows. Could you please guide me on how to achieve this?

How to get the generated text of my workflow via a call to my API?

The calling to my API is fine, but i get for an answear something like this "Enter the article URL: <https://www.cryptopolitan.com/south-korea-crypto-regulations-sec-chair/> Request to Copy.ai API successful! Generated Text:" The generated text is not here because it's being generated after this answear. Here is my code : import requests # Copy.ai API information api_key "xxx" api_endpoint = "xxx" # Prompt the user to enter a link article_url = input("Enter the article URL: ") # Prepare payload and headers payload = { "startVariables": {"article_url": article_url}, "metadata": {"api": True} } headers = { "Content-Type": "application/json", "x-copy-ai-api-key": api_key } # Make a request to the Copy.ai API response = requests.post(api_endpoint, json=payload, headers=headers) # Check the response for the API call if response.status_code == 201 or response.status_code == 200: print("Request to Copy.ai API successful!") # Extract and print the generated text generated_text = response.json().get("data", {}).get("output_text", "") print("Generated Text:") print(generated_text) else: print(f"Error: {response.status_code} - {response.text}")
ANSWERED

API test without paid credits

Can I test API with workflow and webhook in my PHP code, without paid any credits?
ANSWERED

Using the Copy.ai workflow in Nodejs application

How do I get a response to my post? For example, I say, "What is biology?" and I want to get the response on my website. How do I get the responses in my application?
ANSWERED

Re-running failed workflow items

When manually running a workflow, how can i have it re-run just the failed items and not re-run everything?
ANSWERED

The sdk functions are not working.

when I use fetch api to get run Id and get data based on run Id, the api works perfectly but in the case of sdk when I use is it throws me error of method not allowed. Do you have any solution for this?
ANSWERED

Query on Copy.AI API

copi.ai API document is not clear. Do we have any document available to hit Copy.AI API. It seems API is not mature enough to use it. Can anyone help with detailed steps.
ANSWERED

How brand voice will work using your API

Hello, How the brand voice will work in your API for the chat ?