Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import { axios } from "@pipedream/platform";
import app from "../../ai_readiness.app.mjs";

export default {
key: "ai_readiness-check-ai-readiness",
name: "Check AI Search Readiness",
description: "Check whether a website is visible to AI search engines (ChatGPT, Perplexity, Claude, Google AI Overviews). Returns a 0-100 score, a grade, and a specific fix for each gap. [See the documentation](https://samedaydesk.com/tools/ai-readiness).",
version: "0.0.1",
type: "action",
annotations: {
openWorldHint: true,
readOnlyHint: true,
destructiveHint: false,
},
props: {
Comment thread
coderabbitai[bot] marked this conversation as resolved.
app,
url: {
type: "string",
label: "URL",
description: "The website to check, e.g. `example.com` or `https://example.com`.",
},
},
async run({ $ }) {
const data = await axios($, {
url: "https://samedaydesk.com/api/tools/ai-readiness",
params: {
url: this.url,
},
});
$.export("$summary", `Checked ${this.url} — score ${data.score}/100 (grade ${data.grade})`);
return data;
},
};
6 changes: 6 additions & 0 deletions components/ai_readiness/ai_readiness.app.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
export default {
type: "app",
app: "ai_readiness",
propDefinitions: {},
methods: {},
};
18 changes: 18 additions & 0 deletions components/ai_readiness/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "@pipedream/ai_readiness",
"version": "0.0.1",
"description": "Pipedream AI Readiness Components",
"main": "ai_readiness.app.mjs",
"keywords": [
"pipedream",
"ai_readiness"
],
"homepage": "https://pipedream.com/apps/ai_readiness",
"author": "Pipedream <support@pipedream.com> (https://pipedream.com/)",
"publishConfig": {
"access": "public"
},
"dependencies": {
"@pipedream/platform": "^3.0.3"
}
}