Trigger workflows on new emails, and send emails to yourself as part of a Pipedream workflow.
Get a unique address where you can send emails to trigger your workflow.
Customize and send an email to the email address you registered with Pipedream. The email will be sent by notifications@pipedream.com.
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
export default defineComponent({
async run({ $ }) {
const options = {
subject: 'Your subject here',
text: 'Your text here'
};
$.send.email(options);
},
});
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,
})
},
})