← iAuditor by SafetyCulture + Pipedream Utils integrations

Helper Functions - HTML to Markdown with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API

Pipedream makes it easy to connect APIs for Pipedream Utils, iAuditor by SafetyCulture and 2,800+ other apps remarkably fast.

Trigger workflow on
Action Created from the iAuditor by SafetyCulture API
Next, do this
Helper Functions - HTML to Markdown with the Pipedream Utils API
No credit card required
Intro to Pipedream
Watch us build a workflow
Watch us build a workflow
8 min
Watch now ➜

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo

Developers Pipedream

Getting Started

This integration creates a workflow with a iAuditor by SafetyCulture trigger and Pipedream Utils action. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Select this integration
  2. Configure the Action Created trigger
    1. Connect your iAuditor by SafetyCulture account
  3. Configure the Helper Functions - HTML to Markdown action
    1. Connect your Pipedream Utils account
    2. Configure HTML
    3. Optional- Select a Heading Style
    4. Optional- Select a HR
    5. Optional- Select a Bullet List Marker
    6. Optional- Select a Code Block Style
    7. Optional- Select a Fence
    8. Optional- Select a EM Delimiter
    9. Optional- Select a Strong Delimiter
    10. Optional- Select a Link Style
    11. Optional- Select a Link Reference Style
  4. Deploy the workflow
  5. Send a test event to validate your setup
  6. Turn on the trigger

Details

This integration uses pre-built, source-available components from Pipedream's GitHub repo. These components are developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

Trigger

Description:Emit new event when a new action is created.
Version:0.0.1
Key:iauditor_by_safetyculture-action-created

iAuditor by SafetyCulture Overview

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.

Trigger Code

import common from "../common/common.mjs"; import sampleEmit from "./test-event.mjs"; export default { ...common, key: "iauditor_by_safetyculture-action-created", name: "Action Created", description: "Emit new event when a new action is created.", version: "0.0.1", type: "source", dedupe: "unique", methods: { ...common.methods, getEvent() { return "TRIGGER_EVENT_ACTION_CREATED"; }, generateMeta(action) { return { id: action.action_id, summary: `New action "${action.action_id}"`, ts: Date.parse(action.created_at), }; }, }, sampleEmit, }; 

Trigger Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
iAuditor by SafetyCulturesafetycultureappThis component uses the iAuditor by SafetyCulture app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between executions.
N/Ahttp$.interface.httpThis component uses $.interface.http to generate a unique URL when the component is first instantiated. Each request to the URL will trigger the run() method of the component.

Trigger Authentication

iAuditor by SafetyCulture uses API keys for authentication. When you connect your iAuditor by SafetyCulture account, Pipedream securely stores the keys so you can easily authenticate to iAuditor by SafetyCulture APIs in both code and no-code steps.

Generate and copy your API Token from your SafetyCulture account

About iAuditor by SafetyCulture

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.

Action

Description:Convert via turndown
Version:0.0.2
Key:pipedream_utils-html-to-markdown

Pipedream Utils Overview

The Pipedream Utils app is a set of pre-built functions that streamline common tasks in your workflows. It acts like a Swiss Army knife for developers, providing essential tools such as format conversion, date manipulation, and text processing. By leveraging these functions, you can reduce the boilerplate code needed for routine operations, speeding up the development of intricate automations. The Helper Functions API can be a game changer when it comes to tasks like parsing dates in user-friendly formats, encoding and decoding data, or generating UUIDs, making them more efficient and less error-prone.

Action Code

// legacy_hash_id: a_oViLn2 import TurndownService from "turndown"; import pipedream_utils from "../../pipedream_utils.app.mjs"; export default { key: "pipedream_utils-html-to-markdown", name: "Helper Functions - HTML to Markdown", description: "Convert via turndown", version: "0.0.2", annotations: { destructiveHint: false, openWorldHint: false, readOnlyHint: true, }, type: "action", props: { pipedream_utils, input: { type: "string", label: "HTML", }, headingStyle: { type: "string", label: "Heading Style", optional: true, options: [ "setext", "atx", ], }, hr: { type: "string", label: "HR", optional: true, options: [ "***", "===", "---", ], }, bulletListMarker: { type: "string", label: "Bullet List Marker", optional: true, options: [ "-", "+", "*", ], }, codeBlockStyle: { type: "string", label: "Code Block Style", optional: true, options: [ "indented", "fenced", ], }, fence: { type: "string", label: "Fence", optional: true, options: [ "```", "~~~", ], }, emDelimiter: { type: "string", label: "EM Delimiter", optional: true, options: [ "_", "*", ], }, strongDelimiter: { type: "string", label: "Strong Delimiter", optional: true, options: [ "**", "__", ], }, linkStyle: { type: "string", label: "Link Style", optional: true, options: [ "inlined", "referenced", ], }, linkReferenceStyle: { type: "string", label: "Link Reference Style", optional: true, options: [ "full", "collapsed", "shortcut", ], }, }, async run() { const converter = new TurndownService({ headingStyle: this.headingStyle, hr: this.hr, bulletListMarker: this.bulletListMarker, codeBlockStyle: this.codeBlockStyle, fence: this.fence, emDelimiter: this.emDelimiter, strongDelimiter: this.strongDelimiter, linkStyle: this.linkStyle, linkReferenceStyle: this.linkReferenceStyle, }); const markdown = await converter.turndown(this.input); return markdown; }, }; 

Action Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI.

LabelPropTypeDescription
Pipedream Utilspipedream_utilsappThis component uses the Pipedream Utils app.
HTMLinputstring
Heading StyleheadingStylestringSelect a value from the drop down menu:setextatx
HRhrstringSelect a value from the drop down menu:***===---
Bullet List MarkerbulletListMarkerstringSelect a value from the drop down menu:-+*
Code Block StylecodeBlockStylestringSelect a value from the drop down menu:indentedfenced
FencefencestringSelect a value from the drop down menu:```~~~
EM DelimiteremDelimiterstringSelect a value from the drop down menu:_*
Strong DelimiterstrongDelimiterstringSelect a value from the drop down menu:**__
Link StylelinkStylestringSelect a value from the drop down menu:inlinedreferenced
Link Reference StylelinkReferenceStylestringSelect a value from the drop down menu:fullcollapsedshortcut

Action Authentication

The Pipedream Utils API does not require authentication.

About Pipedream Utils

Utility functions to use within your Pipedream workflows

More Ways to Connect Pipedream Utils + iAuditor by SafetyCulture

Formatting - [Date/Time] Add/Subtract Time with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Date/Time] Add/Subtract Time with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Base64 Decode String with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Base64 Decode String with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Compare Arrays with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Compare Arrays with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Date/Time] Compare Dates with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Date/Time] Compare Dates with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Convert Currency with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Convert Currency with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Text] Convert HTML to Markdown with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Text] Convert HTML to Markdown with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Convert HTML to Slack mrkdwn format with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Helper Functions - Convert HTML to Slack mrkdwn format with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Text] Convert HTML to text with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Text] Convert HTML to text with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Data] Convert JSON to String with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Data] Convert JSON to String with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Text] Convert Markdown to HTML with Pipedream Utils API on Action Created from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Formatting - [Text] Convert Markdown to HTML with Pipedream Utils API on Inspection Completed from iAuditor by SafetyCulture API
iAuditor by SafetyCulture + Pipedream Utils
 
Try it
Action Created from the iAuditor by SafetyCulture API

Emit new event when a new action is created.

 
Try it
Inspection Completed from the iAuditor by SafetyCulture API

Emit new event when an inspection has completed.

 
Try it
Create Inspection with the iAuditor by SafetyCulture API

Create a new inspection in iAuditor by SafetyCulture. See the documentation

 
Try it
Create User with the iAuditor by SafetyCulture API

Create a new user in iAuditor by SafetyCulture. See the documentation

 
Try it
Export Inspection to PDF or Word with the iAuditor by SafetyCulture API

Retrieve an inspection report formatted as a PDF or Word (docx) document.See the documentation

 
Try it
Generate PDF Report with the iAuditor by SafetyCulture API

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

 
Try it
Share Inspection with the iAuditor by SafetyCulture API

Share an inspection with one or more users in iAuditor by SafetyCulture. See the documentation

 
Try it
Update User with the iAuditor by SafetyCulture API

Update an existing user in iAuditor by SafetyCulture. See the documentation

 
Try it
Debug Memory Usage with the Pipedream Utils API

Get memory usage statistics for the current Pipedream workflow.

 
Try it
Formatting - [Data] Convert JSON to String with the Pipedream Utils API

Convert an object to a JSON format string

 
Try it
Formatting - [Data] Parse JSON with the Pipedream Utils API

Parse a JSON string

 
Try it
Formatting - [Date/Time] Add/Subtract Time with the Pipedream Utils API

Add or subtract time from a given input

 
Try it
Formatting - [Date/Time] Compare Dates with the Pipedream Utils API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
Try it
Formatting - [Date/Time] Format with the Pipedream Utils API

Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.

 
Try it
Formatting - [Numbers] Format Currency with the Pipedream Utils API

Format a number as a currency

 
Try it
Formatting - [Numbers] Format Number with the Pipedream Utils API

Format a number to a new style. Does not perform any rounding or padding of the number.

 
Try it
Formatting - [Text] Convert HTML to Markdown with the Pipedream Utils API

Convert valid HTML to Markdown text

 
Try it
Formatting - [Text] Convert HTML to text with the Pipedream Utils API

Convert valid HTML to text

 
Try it
Formatting - [Text] Convert Markdown to HTML with the Pipedream Utils API

Convert Markdown text to HTML

 
Try it
Formatting - [Text] Decode URL with the Pipedream Utils API

Decode a URL string

 
Try it
Formatting - [Text] Encode URL with the Pipedream Utils API

Encode a string as a URL

 
Try it
Formatting - [Text] Extract by Regular Expression with the Pipedream Utils API

Find a match for a regular expression pattern. Returns all matched groups with start and end position.

 
Try it
Formatting - [Text] Extract by Regular Expressions List (Regex) with the Pipedream Utils API

Find matches for regular expressions. Returns all matched groups with start and end position.

 
Try it
Formatting - [Text] Extract Email Address with the Pipedream Utils API

Find an email address out of a text field. Finds the first email address only.

 
Try it
Formatting - [Text] Extract Number with the Pipedream Utils API

Find a number out of a text field. Finds the first number only.

 
Try it
Formatting - [Text] Extract Phone Number with the Pipedream Utils API

Find a complete phone number out of a text field. Finds the first number only.

 
Try it
Formatting - [Text] Extract URL with the Pipedream Utils API

Find a web URL out of a text field. Finds the first URL only.

 
Try it
Formatting - [Text] Replace Text with the Pipedream Utils API

Replace all instances of any character, word or phrase in the text with another character, word or phrase.

 
Try it
Formatting - [Text] Set Default Value with the Pipedream Utils API

Return a default value if the text is empty

 
Try it
Formatting - [Text] Split Text with the Pipedream Utils API

Split the text on a character or word and return one or all segments

 
Try it
Formatting - [Text] Transform Case with the Pipedream Utils API

Transform case for a text input

 
Try it
Formatting - [Text] Trim Whitespace with the Pipedream Utils API

Removes leading and trailing whitespace

 
Try it
Helper Functions - Base64 Decode String with the Pipedream Utils API

Accepts a base64-encoded string, returns a decoded UTF-8 string

 
Try it
Helper Functions - Compare Arrays with the Pipedream Utils API

Get the difference, intersection, union, or symetric difference of two arrays/sets.

 
Try it
Helper Functions - Convert Currency with the Pipedream Utils API

Convert an amount between currencies. See the documentation

 
Try it
Helper Functions - Convert HTML to Slack mrkdwn format with the Pipedream Utils API

Converts an HTML string to the Slack mrkdwn format using

 
Try it
Helper Functions - Convert JavaScript Object to JSON String with the Pipedream Utils API

Accepts a JavaScript object, returns that object converted to a JSON string

 
Try it
Helper Functions - Country name, given code (2-letter) with the Pipedream Utils API

Return the country name (in English) when given the 2-letter country code

 
Try it
Helper Functions - CSV File To Objects with the Pipedream Utils API

Convert a CSV file to an array of objects.

 
Try it
Helper Functions - Download File To /tmp with the Pipedream Utils API

Downloads a file to your workflow's /tmp directory

 
Try it
Helper Functions - Export Variables with the Pipedream Utils API

Export variables for use in your workflow

 
Try it
Helper Functions - Format ISO8601 Date/Time for Google Sheets with the Pipedream Utils API

Use the moment.js npm package to format an ISO8601 date/time as Google Sheets friendly formats. This action exports an object with compound date/time, date-only, and time-only values.

 
Try it
Helper Functions - Get Current Time in Timezone with the Pipedream Utils API

Returns the current time, tied to this workflow invocation, in the target timezone

 
Try it
Helper Functions - Get ISO String N Days Ago with the Pipedream Utils API

Returns an ISO string (UTC TZ) N days ago

 
Try it
Helper Functions - Get Time in Timezone with the Pipedream Utils API

Given an ISO 8601 timestamp, and a timezone, convert the time to the target timezone.

 
Try it
Helper Functions - HTML to Markdown with the Pipedream Utils API

Convert via turndown

 
Try it
Helper Functions - Pipedream Task Scheduler - Schedule Task with the Pipedream Utils API

Schedule a task with an existing task scheduler source. See here for more details.

 
Try it
Helper Functions - Pretty Print JSON with the Pipedream Utils API

Pretty print a JavaScript object or value

 
Try it
Helper Functions - Random Integer with the Pipedream Utils API

Generate a random integer (whole number). Useful for random delays.

 
Try it
Helper Functions - Random Item(s) from List with the Pipedream Utils API

Returns a randomly selected value(s) from a user-defined list of options.

 
Try it
Helper Functions - Retrieve all RSS Stories with the Pipedream Utils API

Retrieve all stories from one or more RSS feeds.

 
Try it
Helper Functions - Retrieve New RSS Stories with the Pipedream Utils API

Gets new stories from a specified RSS feed that have not already been processed.

 
Try it
Helper Functions - Send email with Nodemailer with the Pipedream Utils API

Sends an email using the nodemailer package

 
Try it
Helper Functions - Send to Amazon S3 with the Pipedream Utils API

Send data to Amazon S3 using Pipedream's destination integration. See https://docs.pipedream.com/destinations/s3/

 
Try it
Helper Functions - Trigger Workflow with the Pipedream Utils API

Trigger another Pipedream workflow in your workspace.

 
Try it
Helper Functions - XML to JSON with the Pipedream Utils API

See xml-js

 
Try it

Explore Other Apps

1
-
24
of
2,800+
apps by most popular

Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Notion
Notion
Notion is a new tool that blends your everyday work apps into one. It's the all-in-one workspace for you and your team.
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular models like ChatGPT, DALL-E, and Whisper.
Anthropic (Claude)
Anthropic (Claude)
AI research and products that put safety at the frontier. Introducing Claude, a next-generation AI assistant for your tasks, no matter the scale.
Google Sheets
Google Sheets
Use Google Sheets to create and edit online spreadsheets. Get insights together with secure sharing in real-time and from any device.
Telegram
Telegram
Telegram, is a cloud-based, cross-platform, encrypted instant messaging (IM) service.
Google Drive
Google Drive
Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere.
HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Google Calendar
Google Calendar
With Google Calendar, you can quickly schedule meetings and events and get reminders about upcoming activities, so you always know what’s next.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Pipedream Utils
Pipedream Utils
Utility functions to use within your Pipedream workflows
Shopify
Shopify
Shopify is a complete commerce platform that lets anyone start, manage, and grow a business. You can use Shopify to build an online store, manage sales, market to customers, and accept payments in digital and physical locations.
Supabase
Supabase
Supabase is an open source Firebase alternative.
MySQL
MySQL
MySQL is an open-source relational database management system.
PostgreSQL
PostgreSQL
PostgreSQL is a free and open-source relational database management system emphasizing extensibility and SQL compliance.
Premium
AWS
AWS
Amazon Web Services (AWS) offers reliable, scalable, and inexpensive cloud computing services.
Premium
Twilio SendGrid
Twilio SendGrid
Send marketing and transactional email through the Twilio SendGrid platform with the Email API, proprietary mail transfer agent, and infrastructure for scalable delivery.
Amazon SES
Amazon SES
Amazon SES is a cloud-based email service provider that can integrate into any application for high volume email automation
Premium
Klaviyo
Klaviyo
Email Marketing and SMS Marketing Platform
Premium
Zendesk
Zendesk
Zendesk is award-winning customer service software trusted by 200K+ customers. Make customers happy via text, mobile, phone, email, live chat, social media.
Premium
ServiceNow
ServiceNow
The smarter way to workflow
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.
Microsoft Teams
Microsoft Teams
Microsoft Teams has communities, events, chats, channels, meetings, storage, tasks, and calendars in one place.