← Strava + Pipedream Utils integrations

Helper Functions - HTML to Markdown with Pipedream Utils API on New Activity Created Event from Strava API

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

Trigger workflow on
New Activity Created Event from the Strava 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 Strava 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 New Activity Created Event trigger
    1. Connect your Strava account
    2. Configure stravaApphook
  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 activity is created
Version:0.0.2
Key:strava-activity-created

Strava Overview

The Strava API lets you tap into the robust data from Strava's fitness app, which is a playground for athletes worldwide to track their workouts. With Pipedream, you can automate actions based on activities uploaded to Strava, such as running, biking, or swimming. Imagine syncing workout data to spreadsheets for analysis, auto-posting achievements to social media, or integrating with calendar apps for better scheduling. Pipedream's serverless platform makes it a breeze to create workflows that can listen for Strava webhooks, process data, and trigger actions in countless other apps.

Trigger Code

import strava from "../../strava.app.mjs"; export default { key: "strava-activity-created", name: "New Activity Created Event", description: "Emit new event when a new activity is created", version: "0.0.2", type: "source", props: { strava, stravaApphook: { type: "$.interface.apphook", appProp: "strava", eventNames: [ "activity.create", ], }, }, async run(event) { console.log(event); let details; try { details = await this.strava.getActivity({ activityId: event.object_id, }); } catch (err) { console.log(`Error fetching activity details: ${err}`); } let summary = "Activity created"; if (details && details.name) { summary += `: ${details.name}`; } this.$emit( { event, details, }, { summary, ts: event.event_time * 1000, }, ); }, }; 

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
StravastravaappThis component uses the Strava app.
stravaApphook$.interface.apphook

Trigger Authentication

Strava uses OAuth authentication. When you connect your Strava account, Pipedream will open a popup window where you can sign into Strava and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Strava API.

Pipedream requests the following authorization scopes when you connect your account:

readactivity:writeactivity:readactivity:read_all

About Strava

Designed by athletes, for athletes, Strava's mobile app and website connect millions of runners and cyclists through the sports they love.

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 + Strava

Formatting - [Date/Time] Add/Subtract Time with Pipedream Utils API on New Activity Created Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Add/Subtract Time with Pipedream Utils API on New Activity Deleted Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Add/Subtract Time with Pipedream Utils API on New Activity Updated Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Add/Subtract Time with Pipedream Utils API on New Custom Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Base64 Decode String with Pipedream Utils API on New Activity Created Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Base64 Decode String with Pipedream Utils API on New Activity Deleted Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Base64 Decode String with Pipedream Utils API on New Activity Updated Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Base64 Decode String with Pipedream Utils API on New Custom Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Compare Arrays with Pipedream Utils API on New Activity Created Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Compare Arrays with Pipedream Utils API on New Activity Deleted Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Compare Arrays with Pipedream Utils API on New Activity Updated Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Compare Arrays with Pipedream Utils API on New Custom Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Compare Dates with Pipedream Utils API on New Activity Created Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Compare Dates with Pipedream Utils API on New Activity Deleted Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Compare Dates with Pipedream Utils API on New Activity Updated Event from Strava API
Strava + Pipedream Utils
 
Try it
Formatting - [Date/Time] Compare Dates with Pipedream Utils API on New Custom Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Convert Currency with Pipedream Utils API on New Activity Created Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Convert Currency with Pipedream Utils API on New Activity Deleted Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Convert Currency with Pipedream Utils API on New Activity Updated Event from Strava API
Strava + Pipedream Utils
 
Try it
Helper Functions - Convert Currency with Pipedream Utils API on New Custom Event from Strava API
Strava + Pipedream Utils
 
Try it
New Activity Created Event from the Strava API

Emit new event when a new activity is created

 
Try it
New Activity Updated Event from the Strava API

Emit new event when an activity is updated

 
Try it
New Activity Deleted Event from the Strava API

Emit new event when an activity is deleted

 
Try it
New Custom Event from the Strava API

Emit new event when an activity is created, updated, or deleted

 
Try it
Create Activity with the Strava API

Creates a manual activity for an athlete. See the docs

 
Try it
Get Activity By ID with the Strava API

Returns the given activity that is owned by the authenticated athlete. See the docs

 
Try it
Get Activity List with the Strava API

Returns the activities of an athlete for a specific identifier. See the docs

 
Try it
Get Stats with the Strava API

Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty. See the docs

 
Try it
Update Activity with the Strava API

Updates the given activity that is owned by the authenticated athlete. See the docs

 
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.