May 2023 Summaries
5 posts from n8n
Filter
Month:
Year:
Post Summaries
Back to Blog
Data has become an invaluable asset in various industries, with structured data being particularly important for making predictions and identifying trends. Web scraping, a method for extracting structured data from websites, has gained popularity over the past decade. This article explores two approaches to web scraping: using custom JavaScript code and employing n8n, a low-code tool that simplifies the process and integrates with services like ChatGPT and Google Sheets. While custom coding offers flexibility and control, n8n provides a user-friendly interface for building scalable workflows without extensive coding. The legalities of web scraping are complex, as some websites have terms of service that either restrict or forbid the practice. Thus, it is crucial to review a website's terms and conditions before proceeding. The article also highlights how n8n can be combined with AI tools like ChatGPT to enhance data extraction and analysis, demonstrating its potential through examples like monitoring Amazon prices with JavaScript and scraping book data with n8n.
May 31, 2023
2,987 words in the original blog post.
Syncing data between various SaaS applications can be challenging, particularly when these apps do not share a common database. To address this, data can be integrated via API or transferred in universally accepted formats like CSV, which offers benefits such as open format accessibility, plain-text simplicity, and data integrity over Excel. The text provides a tutorial on exporting SQL database data to CSV using three methods: SQL Server Management Studio (SSMS), the sqlcmd command line utility, and the n8n automation tool. SSMS allows manual data transfer or SQL queries using the SQL Server Import and Export Wizard, while sqlcmd offers a command line alternative for those who prefer to avoid traditional interfaces, allowing data exports via SQL queries with specific options to refine the output. The n8n tool offers a low-code automation approach, enabling automatic and routine data exports from SQL to CSV without manual intervention, showcasing the flexibility of integrating SQL with other systems or workflows.
May 18, 2023
1,536 words in the original blog post.
The article explores three methods for implementing loops within n8n workflows, specifically for web scraping tasks that require paging support. It provides an in-depth explanation of how looping can be leveraged to efficiently handle repetitive processes by reusing a set of nodes multiple times with varying input data. The first approach involves manually maintaining loop data using Set nodes, while the second utilizes workflow static data for storing pagination information, reducing the need to pass values around unnecessarily. The third and most streamlined method takes advantage of n8n's internal run index to track iterations, simplifying the workflow by eliminating additional nodes for page counting. Each method is demonstrated through a practical example of scraping data from a paginated web page, with a focus on n8n's flexibility and efficiency in automating repetitive tasks. The post also highlights some advanced n8n techniques and internals that can enhance users' automation capabilities.
May 16, 2023
2,428 words in the original blog post.
n8n has introduced two new features, Execution search and Global Variables, aimed at enhancing user experience and workflow efficiency. Execution search allows users to filter and manage workflow executions more effectively, aiding in debugging and monitoring as workflows scale. Users can add and filter custom data during runtime to easily track specific executions. The Global Variables feature enables the storage and reuse of values across workflows, with variables being replaced by their actual content at runtime. These enhancements are available for n8n Pro and Enterprise plans, promising improved efficiency and convenience for users.
May 12, 2023
319 words in the original blog post.
In today's API-driven economy, API design and documentation have become crucial skills for developers, who are increasingly dedicating time to API development and integration. Despite the complexity and time-consuming nature of building APIs, tools like the n8n automation platform offer a balance of simplicity and flexibility, enabling developers to create and expose APIs efficiently. The tutorial emphasizes the importance of defining goals, considering user needs, and planning a coherent structure for API products. It highlights key elements such as HTTP methods, URL endpoints, and error handling, underscoring the necessity of thorough documentation, testing, and security measures like authentication and authorization. The text provides a practical walkthrough using n8n to demonstrate setting up API endpoints, handling requests, and configuring responses, while also stressing the significance of integration, management, and scalability in the broader API ecosystem.
May 05, 2023
2,323 words in the original blog post.