Discussions
Infobase not uploading documents
Is anyone else having an issue uploading documents to the Infobase? Once uploaded, it says processing file for a while before showing the error message "your file failed to upload. please try again"
Posted by Jessica Twiford 27 days ago
Different versions of text each api call
Hello I'm new to copy.ai and I've been having a lot of fun with it so far.
I have the following question regarding workflows and the API:
Let's say I have a workflow that creates 10 different versions of a text. Is there a way to call the same workflow more than once, and get different versions of the text in each call? The new versions generated are the same on each call.
Thanks in advance
Posted by Jose Mendez about 1 month ago
Wokflow using brand voice
How can take brand voice as input to workdlow
Posted by Muhammad Afnan 3 months ago
Regarding carriers in copy ai
I wanted to know about the carriers in copy ai
Posted by pawar 4 months ago
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?
Posted by Harsh Dangi 4 months ago
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}")
Posted by Paul Rissel 4 months ago
API test without paid credits
Can I test API with workflow and webhook in my PHP code, without paid any credits?
Posted by Francesco Klekoo srl 4 months ago
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?
Posted by Christian Okonta 4 months ago
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?
Posted by Andy 5 months ago
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?
Posted by Ronak Navadia 7 months ago