ManualTrigger Automate streamlines the indexing process by automatically extracting URLs from a sitemap and submitting them to the Google Indexing API. This workflow runs on a schedule, handling up to 200 URL updates per day, ensuring your website's content is promptly indexed. It efficiently manages data in batches, checks for indexing success, and provides error handling if limits are reached, enhancing your site's visibility and search performance.
This workflow is ideal for professionals managing websites who want to ensure their pages are indexed quickly and efficiently. It is particularly useful for those who:
- Have a large number of URLs to manage, as it automates the indexing process.
- Need to comply with Google’s Indexing API limits and want to avoid reaching their daily quota.
- Are looking to streamline their workflow and reduce manual intervention in the indexing process.
This workflow addresses the challenge of manually submitting URLs for indexing to Google. By automating the process, it:
- Saves time and reduces the risk of human error in submitting URLs.
- Ensures that updates to websites are reflected in search results more quickly.
- Helps users stay within Google’s daily quota limits for URL submissions, preventing unnecessary errors.
1. Trigger: The workflow can be initiated either manually by clicking "Execute Workflow" or automatically on a schedule (daily at 1 AM).
2. Fetch Sitemap: It retrieves the sitemap from https://bushidogym.fr/sitemap.xml
using an HTTP request.
3. Convert XML to JSON: The sitemap data is converted from XML to JSON format for easier processing.
4. Extract URLs: The workflow parses the JSON to extract each URL from the sitemap.
5. Loop Through URLs: Each URL is processed individually to send indexing requests to Google.
6. Index URL: For each URL, a POST request is made to the Google Indexing API to notify it of an update.
7. Check Indexing Status: The workflow checks if the URL was successfully indexed by verifying the response from Google.
8. Wait if Necessary: If the indexing limit is reached, the workflow pauses for 2 seconds before retrying.
9. Error Handling: If the daily quota is exceeded, the workflow stops and outputs an error message to inform the user.
- Change Schedule: Modify the Schedule Trigger
parameters to adjust the frequency of the workflow (e.g., weekly or hourly).
- Update Sitemap URL: Change the URL in the sitemap_set
node to point to a different sitemap if necessary.
- Adjust Batch Size: In the loop
node, you can change the batchSize
parameter to process multiple URLs at once, depending on your needs.
- Modify Error Handling: Customize the Stop and Error
node to change the error message or actions taken when the quota is reached.
- Add Additional Nodes: Incorporate more nodes for additional functionality, such as logging or notifications, to enhance the workflow.