with Zenserp and Google Search Console?
The Zenserp API enables you to automate search engine queries, parsing SERPs (Search Engine Results Pages) to extract valuable data such as search results, location-based results, and even Google image searches. Within Pipedream's platform, you can harness this API to create workflows that react to various triggers, like webhooks or schedules, to perform automated searches and process the resulting data. This can be powerful for SEO analysis, market research, and content monitoring. Pipedream's serverless architecture makes it seamless to integrate Zenserp with other apps to augment your workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zenserp: {
type: "app",
app: "zenserp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.zenserp.com/api/v2/search`,
headers: {
"apikey": `${this.zenserp.$auth.api_key}`,
},
params: {
"q": `Pipedream`,
},
})
},
})
The Google Search Console API opens a treasure trove of data and insights about your website's presence in Google Search results. You can get detailed reports on your site's search traffic, manage and test your site's sitemaps and robots.txt files, and see which queries bring users to your site. On Pipedream, utilize this API to automate checks on site performance, integrate with other tools for deeper analysis, or keep tabs on your SEO strategy's effectiveness.
Google Search Console distinguishes between URL properties and Domain properties:
https://example.com
or https://www.example.com
)sc-domain:example.com
)When working with subdomains:
sc-domain:example.com
)https://mcp.example.com
)https://mcp.example.com/app/slack
This approach ensures you can access subdomain data even if the subdomain isn't individually verified in Search Console.
To see data broken down by individual pages (rather than just aggregate data):
For advanced filtering needs, you can also:
SEO Performance Report to Slack: Automate daily or weekly SEO performance reports. Use the Google Search Console API to fetch search analytics data, then send a summary report to a Slack channel, keeping the team informed about trends, keyword rankings, and click-through rates.
Sync Search Results with Google Sheets: Create a workflow that periodically pulls data from the Google Search Console API and adds it to a Google Sheet. This is useful for maintaining an evolving dataset for deeper analysis, historical reference, or sharing insights across teams without giving direct access to the Search Console.
Automatic Sitemap Submission: Set up a Pipedream workflow that triggers whenever a new sitemap is generated in your content management system (CMS). The workflow can then automatically submit the sitemap to Google Search Console via API, ensuring Google has the latest structure of your site for crawling and indexing.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
google_search_console: {
type: "app",
app: "google_search_console",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.googleapis.com/webmasters/v3/sites`,
headers: {
Authorization: `Bearer ${this.google_search_console.$auth.oauth_access_token}`,
},
})
},
})