Create and manage machines that read and write.
Creates a Step Function State Machine to publish a message to an SNS topic at a specific timestamp. The SNS topic delivers the message to this Pipedream source, and the source emits it as a new event.
Creates an SNS topic in your AWS account. Messages published to this topic are emitted from the Pipedream source.
The source subscribes to all emails delivered to a specific domain configured in AWS SES. When an email is sent to any address at the domain, this event source emits that email as a formatted event. These events can trigger a Pipedream workflow and can be consumed via SSE or REST API.
Emit new event when a DynamoDB stream receives new events. See the docs here
Determine the sentiment of the given text (positive, negative, or neutral). See the documentation.
Identify and extract significant keywords from the given text. See the documentation.
Generate a blog post based on the given prompt. See the documentation.
Generate a short summary for news headlines. See the documentation.
The Metatext.AI Pre-built AI Models API offers various artificial intelligence capabilities such as natural language processing, image recognition, and sentiment analysis. This API enables users to add AI features to their applications without the need for extensive machine learning expertise. Utilizing this API in Pipedream workflows allows for automation and integration with other services, making it possible to process and analyze text and images within a serverless environment efficiently.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
metatext_ai_pre_build_ai_models_api: {
type: "app",
app: "metatext_ai_pre_build_ai_models_api",
}
},
async run({steps, $}) {
const data = {
"text": `{your_text}`,
}
return await axios($, {
method: "post",
url: `https://api.metatext.ai/hub-inference/sentiment-analysis`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.metatext_ai_pre_build_ai_models_api.$auth.api_key}`,
},
data,
})
},
})
The AWS API unlocks endless possibilities for automation with Pipedream. With this powerful combo, you can manage your AWS services and resources, automate deployment workflows, process data, and react to events across your AWS infrastructure. Pipedream offers a serverless platform for creating workflows triggered by various events that can execute AWS SDK functions, making it an efficient tool to integrate, automate, and orchestrate tasks across AWS services and other apps.
import AWS from 'aws-sdk'
export default defineComponent({
props: {
aws: {
type: "app",
app: "aws",
}
},
async run({steps, $}) {
const { accessKeyId, secretAccessKey } = this.aws.$auth
/* Now, pass the accessKeyId and secretAccessKey to the constructor for your desired service. For example:
const dynamodb = new AWS.DynamoDB({
accessKeyId,
secretAccessKey,
region: 'us-east-1',
})
*/
},
})