E&S Journal logo

Executive Summary

Competitive pricing in food retail with automated collection of competitor data

Prioritize in my Google results

Erica Fernanda Oliveira; Paula Bruzadelle Vieira

Summary elaborated by the ResumeAI tool, an artificial intelligence solution developed by Instituto Pecege focused on synthesis and writing.

This research developed and implemented a Python algorithm to automate the collection of competitor prices and assortment from the iFood marketplace, with data integration into Excel spreadsheets. The solution provides the analyzed company’s pricing area with a tool to measure the Competitiveness Index (IC%) and identify assortment gaps. The objective is to support agile and well-founded adjustments in pricing and product mix strategies, aligning the digital channel with market dynamics. The study demonstrates the benefits of a low-cost, data-driven approach, points out limitations, and suggests improvements, such as routine orchestration and the incorporation of more complex competitive variables.

Food retail in Brazil faces intense competitiveness, shaped by a new consumer profile and market pressures. Reports indicate that, in the post-pandemic period, consumers’ sensitivity to prices and search for variety have increased, raising the complexity of management for supermarkets (ABRAS, 2023; APAS, 2022). Pricing has become a pillar for balancing perceived value, competitiveness, and profitability. According to Nagle and Müller (2018), effective pricing requires understanding the value perceived by the consumer and the behavior of the competition. The ability to innovate in marketing and pricing is a determining factor for the sector’s sustainability (Berkhout, 2020).

Despite the importance of data-driven decisions, many retail companies still use intuition-based methods or manual processes (SA Varejo, 2022). The main obstacle is the difficulty in obtaining reliable and up-to-date information about competitors. Traditional methods, such as store visits or outsourced surveys, are costly, limited in scope and frequency, and prone to errors. In this scenario, web scraping — automated data extraction from websites — emerges as a strategic alternative. This approach allows for collecting information from marketplaces on a large scale and in near real-time, transforming public data into competitive intelligence (Mitchell, 2018). The applicability of the technique in the food sector was validated in studies such as Hillen’s (2019), which used it for price monitoring.

Business literature reinforces the benefits of this approach. Analyses by McKinsey & Company (2022) reveal that supermarkets that adjust prices based on systematic competitive benchmarking have up to 15% higher chances of expanding their margins. Customer satisfaction can increase by up to 20% when decisions are data-driven (Harvard Business Review, 2023). Provost and Fawcett (2013) argue that data-driven decisions reduce biases, aligning with Deming’s (1986) principle that “what is not measured cannot be managed.” In food retail, data quality directly impacts profitability (Fávero and Belfiore, 2019). Therefore, integrating internal data (ERP) with external information collected via web scraping constitutes a robust path for evidence-based management (Deloitte, 2022).

The study was conducted in a supermarket chain in São Paulo with over 30 physical stores, 14 of which operate on iFood. The research compares these 14 stores with 14 direct competitors on the same platform. A critical factor was the company’s commercial policy for the digital channel, which establishes a 8% fee on the price of each product. This markup creates a dilemma: passing on the fee affects competitiveness, while absorbing it impacts margins. Before the project, competitor monitoring was manual, an inefficient, time-consuming, error-prone process that did not capture assortment differences, providing a limited view of competitiveness.

To achieve the objectives, a Python algorithm was implemented to automate data collection on iFood and integrate it with the company’s internal databases. The methodology was divided into four components: definition of data sources, automated collection, processing and cross-referencing of information, and calculation of indicators. The developed data pipeline ranges from extraction on iFood to the consolidation of Excel reports for the pricing team. Orchestration tools such as Apache Airflow were considered as an evolution to enable continuous collection routines, aligning with automation trends in retail (NRF, 2023; Apache Software Foundation, 2023).

The project used external and internal data sources. The external source was the iFood marketplace, specifically the product catalogs of competitors selected by the pricing team. The internal sources were extractions from the network’s ERP in Excel format, including: a product table with barcodes (EANs); a merchandising registration table with the hierarchy of each product; a store assortment table; and a table of internal prices and costs.

Automated data collection was performed via web scraping. Each competitor store had a unique ID on iFood. Inspection of the web interface revealed an API endpoint that returned a store’s complete catalog in JSON format when the ID was provided. This discovery allowed for more efficient collection than HTML scraping with BeautifulSoup (Richardson, 2023) or browser automation with Selenium (2023). We opted to consume the API data via HTTP GET requests, using the Requests library in Python (Reitz & Cory, 2023). For each competitor, the data was obtained programmatically, without the need for authentication, as the catalog information is public.

After collection, competitor data was cross-referenced with the company’s internal databases using the EAN code as a key. The competitors’ DataFrame was merged with the ERP’s EAN table, identifying equivalent products. Subsequently, information from the marketing tree was added to allow for segmented analyses. The process included integrating information about which network store was being compared to each competitor and incorporating internal price and cost data. With the unified database, the Competitiveness Index (IC%) was calculated using the formula: IC% = (iFood Network Price / iFood Competitor Price) × 100. Values above 100 indicate that the network is more expensive. The processing was performed with the pandas library (McKinney, 2017), and the result was exported to an Excel file.

The algorithm’s implementation generated actionable results. The most immediate gain was the reduction in time for price research. The manual process consumed about 240 minutes for a limited sample. With automation, complete data collection and report generation were performed in approximately 10 minutes, a time saving of over 95.8%. This efficiency allowed for an increase in update frequency from weekly to daily, aligning the company with best practices in market intelligence (Provost & Fawcett, 2013; McKinsey & Company, 2022).

There was also a substantial expansion in the volume and coverage of data. Instead of dozens of SKUs, the solution began to cover the entire assortment of competitors. The collection of July 21, 2025, resulted in 30,768 unique EANs and 127,410 price observations. This coverage revealed that approximately 28.9% of the products offered by competitors were not part of the network’s assortment in certain stores. This gap opened discussions about the incorporation of new items, benefiting assortment management, as variety is an important decision factor for consumers (APAS, 2022).

The calculation of the Price Index (IC%) provided a quantitative view of price positioning. The overall average IC% was 105.2%, indicating that network prices on iFood were, on average, 5.2% higher than competitors. Segmented analysis revealed significant variations: in categories like rice, the network was competitive (average IC of 88.8%), but in frozen beef, prices were 30.8% higher, a risk of customer loss. Other categories with higher prices included snacks and ready meals (IC 128.4%) and wines (IC 122.0%), while coffee (IC 91.5%) and pasta (IC 93.2%) showed a more aggressive positioning.

The distribution of items by % IC ranges showed that 47% of products were in the “most expensive” range (IC ≥ 1.05), 21% in a “neutral” position (0.98 < IC < 1.05), and 32% “cheaper” (IC ≤ 0.98). This asymmetry showed that the fixed markup policy of 8% was not optimal. Based on this, tactical actions were proposed: for categories with high IC and healthy margins, price reductions were suggested; for those with high IC and tight margins, the recommendation was to renegotiate costs or adjust the assortment. For already competitive items, the guidance was to protect margins and use them in marketing actions.

The assortment analysis revealed that the 28.9% gap was both a threat and an opportunity, prompting discussions about criteria for including new products. The analysis also allowed for the identification of network-exclusive items, which could be promoted as differentiators. Competitive data served as an assortment benchmark, providing input to optimize the balance between depth and breadth, an essential factor for maximizing sales and customer satisfaction (Berman and Evans, 2018).

The accuracy of the data was validated through comparisons with manual collections, with no discrepancies found. The prices captured by the algorithm accurately reflected the values on iFood, reinforcing the reliability of the method (Mitchell, 2018; Provost & Fawcett, 2013). The storage of raw JSON files from each collection contributed to data traceability and auditing, increasing confidence in the results.

Despite the success, limitations were identified. The main one was the absence of EANs in categories such as fruits, vegetables, and greens (FLV) and variable-weight items, which made automatic pairing unfeasible. Another limitation was the absence of automated orchestration of the collection routine, whose execution still depended on manual activation. The implementation of a tool like Apache Airflow was identified as a necessary evolution to ensure continuous data collection.

The results confirmed that the initiative generated concrete gains. The company achieved a reduction in collection costs and time, an increase in the volume of information, and the ability to make more informed and proactive pricing and assortment decisions (Deloitte, 2022; NielsenIQ, 2023). The solution transformed the pricing function from a reactive activity into a strategic competitive intelligence process, a differentiator in the supermarket sector (SA Varejo, 2022; ABRAS, 2023). Decision-making became more assertive, in line with the view that market information is central to marketing strategy (Kotler & Keller, 2012).

This study demonstrated that automating competitor data collection is a viable and high-impact solution for food retail. The initiative addressed the problem of how to monitor competitiveness in the digital channel, reducing collection time by over 95% and expanding coverage to the entire competitor assortment. The practical contribution lies in replacing a manual process with an automated, reliable, and low-cost workflow. Managerially, the Competitiveness Index (IC%) proved to be a clear metric to support strategic adjustments, reinforcing that pricing must balance internal factors and the external competitive environment.

The identified limitations open paths for future work. It is recommended to incorporate product description-based matching methodologies for items without EAN, adopt orchestration tools like Apache Airflow for full automation, and expand the indicators to include metrics such as price elasticity of demand. The developed solution proved to be technically feasible, scalable, and low-cost, confirming the role of market intelligence as a competitive differentiator. It is concluded that the objective was achieved: it was demonstrated that the automation of competitor data collection and analysis enables continuous competitive monitoring and supports more agile and informed pricing decisions in the food retail sector.

References:
ABRAS – Brazilian Supermarkets Association. ABRAS Ranking 2023: pricing as a critical factor for competitiveness. São Paulo: ABRAS, 2023.
APACHE SOFTWARE FOUNDATION. Apache Airflow Documentation. Apache, 2023.
APAS – Paulista Supermarkets Association. APAS Survey 2022: assortment trends and consumer behavior. São Paulo: APAS, 2022.
BERKHOUT, C. Marketing and Sales Strategies in Retail. São Paulo: Alta Books, 2020.
BERMAN, B.; EVANS, J. Retail Management: A Strategic Approach. 13th ed. New Jersey: Pearson, 2018.
DELOITTE. The Future of Retail: trends and automation in global retail. São Paulo: Deloitte, 2022.
DEMING, W. E. Out of the Crisis. Cambridge: MIT Press, 1986.
FÁVERO, L. P.; BELFIORE, P. Statistics Applied to Retail – Volume 1. Rio de Janeiro: Elsevier, 2019.
HARVARD BUSINESS REVIEW BRAZIL. Benchmarking and customer satisfaction in the supermarket sector. São Paulo: HBR Brasil, ed. 5, 2023.
HILLEN, J. Web scraping for food price monitoring: methods, validity, and applications. Journal of Food Research, v. 8, n. 3, p. 45-59, 2019.
KOTLER, P.; KELLER, K. Marketing Management. 14th ed. São Paulo: Pearson, 2012.
McKINNEY, W. Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython. 2nd ed. Sebastopol: O’Reilly Media, 2017.
McKINSEY & COMPANY. Pricing strategies and margin increase in food retail. São Paulo: McKinsey & Company, 2022.
MITCHELL, R. Web Scraping with Python: Collecting Data from the Modern Web. 2nd ed. Sebastopol: O’Reilly Media, 2018.
NAGLE, T.; MÜLLER, G. The Strategy and Tactics of Pricing: a guide to growing more profitably. 6th ed. New York: Routledge, 2018.
NIELSENIQ. Competitiveness and elasticity insights in the supermarket sector. São Paulo: NielsenIQ, 2023.
NRF – National Retail Federation. NRF Big Show Report 2023: global retail trends. New York: NRF, 2023.
PROVOST, F.; FAWCETT, T. Data Science for Business: What You Need to Know about Data Mining and Data-Analytic Thinking. Sebastopol: O’Reilly Media, 2013.
REITZ, K.; CORY, T. Requests: HTTP for Humans – Documentation. Python Software Foundation, 2023.
RICHARDSON, L. Beautiful Soup Documentation. Crummy. com, 2023.
SA VAREJO. Pricing intelligence and competitiveness strategies in Brazilian retail. São Paulo: SA Varejo, 2022.
SELENIUM. Selenium WebDriver Documentation. SeleniumHQ, 2023.

Executive summary from the Final Course Work of the Specialization in Data Science and Analytics of the MBA USP/Esalq

Learn more about the course; click here:

Who edited this article

See Revista E&S first when you search on Google.

Prioritize in my Google results

Most recent

You may also like

Project Management

December 01, 2026

Identification and Classification of Problems in Automotive Warranties by Topic Modeling with Bertopic

The Brazilian automotive sector has become increasingly competitive, driven by the entry of automakers and the adoption of new manufacturing techniques and processes, making the warranty area strategic, as it needs to identify and solve problems quickly and efficiently to ensure customer satisfaction and company profitability. The study’s objective was to propose an approach for analyzing textual reports of warranty claims from a company in the automotive sector, aiming to identify problem groups and support their classification using BERTopic-based topic modeling techniques. The study analyzed customer and mechanic reports from 646 warranty records related to painting problems. Regarding topic modeling quality, values of 0.787 for Topic Coherence, 0.557 for Topic Diversity, 0.572 for Embedding Topic Coherence, and 0.513 for Silhouette Score were obtained. Manual evaluation by experts resulted in an Accuracy of 0.74 and an F1-Score of 0.653. Additionally, a binomial test revealed a correct classification rate above 70%. The model identified relevant groups, such as defects in the hood, clear coat, primer application, and paint spots, as well as pointing out potential new problems. The results suggest that the model can be a support tool to reduce the time needed for identifying and classifying warranty problems from textual reports, providing subsidies for continuous improvement actions of the company’s products and processes.

Keywords: Report analysis; Text classification; Topic discovery; Natural language processing; Vehicle repair.

Project Management

December 01, 2026

Maturity of Knowledge Management in Projects: a Multisetorial Survey in Brazilian Companies

Knowledge Management (KM) sustains project performance and continuity by retaining knowledge from past initiatives and making it available for future ones, preventing expertise loss due to turnover and contributing to reduced timelines, costs, and rework. Project Management Offices (PMOs) operationalize this transfer, acting as a link between projects and coordinating lessons learned. The study aimed to assess the maturity level of KM applied to project management in Brazilian companies from different sectors and to verify the association of maturity with size, age, sector of activity, and the presence of a PMO. The evaluation model from the Asian Productivity Organization (APO) was adopted, operationalized by a Likert-type questionnaire with 42 items, distributed across seven dimensions, ranging from 1 (does not execute) to 5 (executes very well). Data collection was carried out via an online questionnaire applied to professionals working in project management, between March 6, 2026, and May 6, 2026, totaling 49 responses. The instrument showed excellent internal consistency (Cronbach’s alpha = 0.979). The average score was 139.5 points, indicating an intermediate level of maturity. Statistical tests showed that the seven dimensions differ from each other (p-value < 0.001), with Technology at the top and People, Knowledge Processes, and KM Results at the base. Higher maturity was also observed in companies with a PMO (p-value = 0.030), but there was no evidence of an effect of age (p-value = 0.365), size (p-value = 0.265), or sector (p-value = 0.764).

Keywords: APO; project office; organizational maturity; PMO; knowledge transfer.

Data Science And Analytics For Operations

December 01, 2026

Measuring Public Opinion of Climate Conferences with Multiperspective Sentiment Analysis

Climate conferences are strategic events for understanding social perceptions and public discourse on climate change. However, sentiment analysis from a single perspective can introduce biases in the interpretation of public opinion. The study proposed a multiperspective approach to measuring public opinion in climate conferences, using sentiment and emotion analysis applied to digital platform data related to COP30. A total of 2,036 comments were collected, with 1,029 from Instagram and 1,007 from YouTube. The data were processed through sentiment and emotion analysis using the pysentimiento library, with classification treatment and standardization. Portuguese-specialized models were compared to multilingual ones. The results indicated a predominance of positive sentiments on Instagram (43.9%) and negative sentiments on YouTube (58.7%), showing significant differences between the platforms. Emotion analysis reinforced this distinction, with a higher incidence of emotions such as admiration and approval on Instagram, while on YouTube, emotions like irritation, disapproval, and anger stood out. YouTube comments were 76% less likely to be classified into more positive sentiment categories and 58% less likely to belong to more positive emotional classes compared to Instagram. The Portuguese-specialized model showed agreement with the multilingual model for sentiments (Kappa 0.6166) and high robustness to noise, with a stability of 94.60%. For emotions, the Portuguese model significantly outperformed the multilingual one in stability (89.88% vs. 41.80%). The comparison between aggregated emotions and sentiments revealed an agreement of 0.2163, indicating that the metrics capture distinct and complementary nuances of public opinion.

Keywords: Data science; Digital engagement; Text mining; Natural language processing; Social networks.

December 01, 2026

Proposal for Optimization of Greenhouse Gas Inventory Calculation for Strengthening the ESG Strategy

The study addressed the need to increase the reliability, traceability, and timeliness of Greenhouse Gas (GHG) inventory calculation in a large Brazilian pharmaceutical organization. The calculation of direct emissions and the intensity indicator (kg CO2eq/unit produced) depended on manual consolidations in spreadsheets. The objective was to monitor and discuss the implementation of a new data processing model for direct emissions calculation, integrating the SAP corporate system with a Business Intelligence solution in Power BI. To this end, an applied case study was conducted, with documentary research, semi-structured interviews, and sample verification of fiscal and transactional records. This resulted in the mapping of the current process, identification of operational risks, and definition of data governance requirements. Subsequently, the variable matrix by emission category (stationary combustion, mobile combustion, fugitive emissions, and agricultural activities), the standardized extraction strategy via material movement report in SAP, the generation of a CSV base file, and the implementation of an analytical model in Power BI for automated calculation of emissions and the intensity indicator were specified. It was concluded that the adoption of a single data base, with standardized extraction, structured processing, and dashboard visualization, reduced the dependence on spreadsheets, strengthened end-to-end traceability, and increased the managerial utility of the GHG inventory, contributing to the strengthening of the organization’s ESG governance.

Keywords: ESG; Data governance; Emissions inventory; Power BI; SAP.

November 30, 2026

Didactic deficiencies and their impacts on the training of professionals in the OSH area

The absence of teaching techniques and didactics disciplines in technical courses of Occupational Safety (OS) may be related to high rates of occupational diseases and accidents, impacting communication between Occupational Health and Safety (OHS) professionals and employees. The positioning of OHS professionals regarding the inclusion of disciplines focused on teaching techniques and didactics in technical OS courses was investigated. The survey methodology was employed to collect data through a questionnaire with five questions, generated via the Google Forms platform and distributed through LinkedIn, obtaining 38 responses. The results indicated that a significant portion of respondents (52.6% partially and 28.9% insufficiently) perceived gaps in the didactic preparation of the courses. The majority (86.8%) considered knowledge in didactics very important for OHS professionals. The main difficulties identified were the inadequate use of teaching methodologies (26.3%), the absence of in-depth technical knowledge (23.7%), the lack of clarity in explanation (21.1%), and the difficulty in engaging participants (21.1%). It was concluded that the results validate the problem of pedagogical deficiency and suggest the need for a review of the curricular components of technical OS courses, with the inclusion of teaching techniques and didactics disciplines, to qualify professionals and reduce accidents in the workplace.

Keywords: Workplace; Technical courses; Occupational Health and Safety; Teaching techniques.

November 30, 2026

Pilgrim Management on the Camino de Santiago de Compostela: the Portuguese Central Way

Pilgrims from various parts of the world have traveled the Camino de Santiago de Compostela. Given the need for strategic qualiquantitative planning for a satisfactory journey, the research objective was to understand the functioning of the Camino de Santiago de Compostela, focusing on the Portuguese Central Way. The investigation was conducted in three stages: a literature review on the precedents of the Way; strategic planning with public data from pilgrims who completed the route between 2003 and 2023; and an experiential report from Holy Week 2023, starting from Porto, Portugal, to Santiago de Compostela, Spain. The results indicated that over 4.5 million pilgrims received the Compostela certificate, evidencing a process of massification and exponential growth over 21 years. On the Portuguese Central Way, Tui, Spain, was the preferred starting city, followed by Porto, Portugal. The majority of pilgrims traveled on foot, concentrated in the age group between 18 and 45 years, with a balanced distribution between genders. The period of greatest flow occurred in the summer, especially in August, and the average investment was €0.86 per kilometer traveled. It was concluded that the information gathered offers subsidies for adequate planning, helping pilgrims experience moments of self-knowledge in the face of life’s challenges.

Keywords: Christianity; People management; Pilgrimage; Saint James; Yellow arrow.

Thematic Edition - Pm 2026

November 27, 2026

Retention of People Through Non-Monetary Initiatives: What Makes an Employee Stay?

The retention of professionals with diverse socioeconomic profiles, especially in contexts of crisis or the pursuit of work-life quality, demands knowledge of non-exclusively financial incentives and rewards. The study aimed to identify strategic non-monetary incentives for employee retention. A field survey was conducted, employing a quantitative descriptive research design with probabilistic sampling and no researcher interference. A questionnaire was administered to 103 Brazilian professionals (active or former CLT employees) via LinkedIn and WhatsApp between 01/23/2025 and 02/23/2025. The socioeconomic profile of the participants revealed a predominance of Millennials, women, married individuals, those with postgraduate degrees, and those working at operational and tactical levels in the secondary market. Although salary and monetary benefits were decisive for over 90% of respondents, organizational culture and values, job satisfaction, and relationships with managers and colleagues proved crucial for retention. Factors such as flexible hours, extended leave and vacation periods, hybrid work, and extended maternity/paternity leave were also important for retention. It was concluded that, although remuneration is fundamental, investing in non-monetary factors, such as those identified, is strategic for talent retention, especially when basic financial needs are met or when monetary improvements are not feasible. Future studies are suggested to expand and deepen the sample.

Keywords: Non-monetary benefits; Incentives; Rewards.

Thematic Edition - Pm 2026

November 27, 2026

Training and Development: the Importance of Theoretical Training in a Young Apprentice Program

The study investigated how theoretical training, articulated with professional practice in the Jovem Aprendiz program, influenced the development of young people in an inland city in Bahia. The main objective was to understand, from the perspective of the instructors responsible for theoretical training, the relevance of this stage in the professionalization process. A qualitative approach was adopted, with a descriptive and participatory design. A semi-structured online questionnaire was applied, and the data were treated through content analysis, complemented by a bibliographic review in indexed databases. The results indicated that the instructors considered theoretical training fundamental for broadening knowledge, developing critical thinking, and strengthening technical and behavioral skills, such as communication, teamwork, and responsibility, which are essential for professional practice. Its contribution to social inclusion and the expansion of apprentices’ social mobility prospects was also highlighted. Although needs for greater methodological dynamism and better adaptation of content to the market were pointed out, the perception prevailed that the integration between theory and practice is indispensable for forming critical, autonomous individuals capable of facing personal and professional challenges. It was concluded that theoretical training constitutes a pillar of apprenticeship programs, functioning not only as preparation for work but also as a mechanism for citizenship and social transformation.

Keywords: Professional skills; Social inclusion; Social mobility; Public policies; Critical thinking.