URL to Markdown
A guide to the URL to Markdown action for converting web pages into Markdown format for use in workflows and agentic processes.
The URL to Markdown action is a powerful tool for converting the content of a web page into clean, readable Markdown. It's used in workflows to process web content and can be leveraged by agents to gather information from websites.
Configuration
Input Parameters
URL
Text
The URL of the web page to convert to Markdown.
Output Parameters
markdown
Text
The Markdown content of the web page.
Use Cases
Workflow: Archiving a Blog Post
This example demonstrates how to build a workflow that archives a blog post by converting it to Markdown and saving it to a file.
Get the URL: Use a Code Action or a Manual Trigger to provide the URL of the blog post.
Convert to Markdown: Configure the URL to Markdown action.
URL:
{{code_action.url}}
Save the Markdown: Use a File Writer Action to save the output.
File Path:
/path/to/archive/{{TODAY}}-blog-post.md
Content:
{{url_to_markdown.markdown}}
This workflow automates the process of archiving web content in a clean, readable format.
Agent: Researching a Topic
An agent can use this action to read web pages as part of a research task.
Search: The agent uses a search tool to find relevant URLs for a given topic.
Extract Content: For each URL, the agent calls the URL to Markdown action to get the page content.
Analyze: The agent processes the returned Markdown to extract key information, summarize the content, or answer questions based on the source material.
Last updated
Was this helpful?