The photo app every contractor needs
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 new document is created. See the docs.
Emit new event when a new photo is uploaded. See the docs.
Find a project by name or create it if it doesn't exist. See the docs.
The CompanyCam API provides programmatic access to CompanyCam’s project-based photo solution, allowing for the management of photos, users, and projects within their ecosystem. With Pipedream, you can harness this API to create powerful automations and integrations that streamline photo management workflows, sync project details, and enhance reporting capabilities for teams in construction, roofing, and similar industries.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
companycam: {
type: "app",
app: "companycam",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.companycam.com/v2/users/current`,
headers: {
Authorization: `Bearer ${this.companycam.$auth.oauth_access_token}`,
},
})
},
})
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',
})
*/
},
})