The TextCortex API enables automated creation of human-like text, making it a powerful tool for a variety of text generation tasks like drafting emails, creating content, or generating product descriptions. With Pipedream, you can integrate TextCortex into serverless workflows to harness AI writing assistance, trigger content creation based on events, or enhance data with generated text. The API's capability enhances automation and can be combined with other apps for more complex tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
textcortex: {
type: "app",
app: "textcortex",
}
},
async run({steps, $}) {
const data = {
"mode": `voice_passive`,
"text": `The sky is blue.`,
}
return await axios($, {
method: "post",
url: `https://api.textcortex.com/v1/texts/rewritings`,
headers: {
Authorization: `Bearer ${this.textcortex.$auth.api_key}`,
"Content-Type": `application/json`,
},
data,
})
},
})
Automatically Generate Blog Post Drafts: Trigger a workflow when a new topic is added to your content management system (e.g., WordPress). Use TextCortex to generate a draft post, then push the draft back to WordPress for review.
Enhance CRM Entries with Personalized Descriptions: When a new product is added to your CRM (e.g., Salesforce), use TextCortex to create a unique product description. This description can then be automatically uploaded to your CRM, keeping listings fresh and engaging.
Auto-Compose and Send Customized Emails: Set up a trigger for new sign-ups from a form or service (e.g., Typeform). Use TextCortex to compose a personalized welcome email based on the user's input, and send it using an email service provider like SendGrid.
Summarize given text. The text can be provided as a string or as a file ID. See the documentation
Translate given text into another language. See the documentation
TextCortex uses API keys for authentication. When you connect your TextCortex account, Pipedream securely stores the keys so you can easily authenticate to TextCortex APIs in both code and no-code steps.
Sign in and copy your API key directly from your dashboard under Settings >> API Key.