SafetyCulture (iAuditor) is an inspection, issue capture and corrective action platform for teams that’s used over 50,000 times a day in over 85 countries.
Create a new inspection in iAuditor by SafetyCulture. See the documentation
Create a new user in iAuditor by SafetyCulture. See the documentation
Retrieve an inspection report formatted as a PDF or Word (docx) document.See the documentation
Retrieve the web report link for the specified inspection. This will return the existing link if one has been generated before, or generate a new one if one does not exist already. See the documentation
iAuditor by SafetyCulture API allows you to tap into a rich reservoir of safety and quality inspection data, enabling you to automate workflows around inspection management. With this API on Pipedream, you can create custom integrations to trigger actions based on audit completions, new issues, or updates in iAuditor. Streamline safety processes, connect with other tools, and manipulate inspection data to fit your needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
iauditor_by_safetyculture: {
type: "app",
app: "iauditor_by_safetyculture",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.safetyculture.io/share/connections`,
headers: {
Authorization: `Bearer ${this.iauditor_by_safetyculture.$auth.api_token}`,
"accept": `application/json`,
"sc-integration-id": `sc-readme`,
},
})
},
})
Snowflake offers a cloud database and related tools to help developers create robust, secure, and scalable data warehouses. See Snowflake's Key Concepts & Architecture.
Snowflake recommends you create a new user, role, and warehouse when you integrate a third-party tool like Pipedream. This way, you can control permissions via the user / role, and separate Pipedream compute and costs with the warehouse. You can do this directly in the Snowflake UI.
We recommend you create a read-only account if you only need to query Snowflake. If you need to insert data into Snowflake, add permissions on the appropriate objects after you create your user.
Visit https://pipedream.com/accounts. Click the button to Connect an App. Enter the required Snowflake account data.
You'll only need to connect your account once in Pipedream. You can connect this account to multiple workflows to run queries against Snowflake, insert data, and more.
Visit https://pipedream.com/new to build your first workflow. Pipedream workflows let you connect Snowflake with 1,000+ other apps. You can trigger workflows on Snowflake queries, sending results to Slack, Google Sheets, or any app that exposes an API. Or you can accept data from another app, transform it with Python, Node.js, Go or Bash code, and insert it into Snowflake.
Learn more at Pipedream University.
import snowflake from '@pipedream/snowflake';
export default defineComponent({
props: {
snowflake,
},
async run({ $ }) {
// Component source code:
// https://github.com/PipedreamHQ/pipedream/tree/master/components/snowflake
return this.snowflake.executeQuery({
sqlText: `SELECT CURRENT_TIMESTAMP()`,
binds: [],
});
},
});