Automate browser based workflows with AI
Python aiapiautomationbrowserbrowser-automationcomputergptllmplaywrightpowerautomatepuppeteerpythonrpaseleniumvisionworkflow
add new example task gong.io (#1210)
Shuchang Zheng5e253c82aa0e
diff --git a/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx b/skyvern-frontend/src/routes/tasks/create/PromptBox.tsxindex 2aeae4730..c84ed6149 100644--- a/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx+++ b/skyvern-frontend/src/routes/tasks/create/PromptBox.tsx@@ -84,6 +84,10 @@ const exampleCases = [key: "topRankedFootballTeam",label: "Get the top ranked football team",},+ {+ key: "extractIntegrationsFromGong",+ label: "Extract Integrations from Gong",+ },];function PromptBox() {diff --git a/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts b/skyvern-frontend/src/routes/tasks/data/sampleTaskData.tsindex 6d56915e9..7e9f05ecc 100644--- a/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts+++ b/skyvern-frontend/src/routes/tasks/data/sampleTaskData.ts@@ -365,6 +365,20 @@ export const topRankedFootballTeam = {errorCodeMapping: null,};+export const extractIntegrationsFromGong = {+ url: "https://www.gong.io",+ navigationGoal:+ "Navigate to the 'Integrations' page on the Gong website. COMPLETE when the page displaying a list of integrations is fully loaded. Ensure not to click on any external links or advertisements.",+ dataExtractionGoal:+ "Extract the names and descriptions of all integrations listed on the Gong integrations page.",+ navigationPayload: null,+ extractedInformationSchema: null,+ webhookCallbackUrl: null,+ totpIdentifier: null,+ totpVerificationUrl: null,+ errorCodeMapping: null,+};+export function getSample(sample: SampleCase) {switch (sample) {case "geico": {@@ -407,6 +421,9 @@ export function getSample(sample: SampleCase) {case "topRankedFootballTeam": {return topRankedFootballTeam;}+ case "extractIntegrationsFromGong": {+ return extractIntegrationsFromGong;+ }case "blank": {return blank;}diff --git a/skyvern-frontend/src/routes/tasks/types.ts b/skyvern-frontend/src/routes/tasks/types.tsindex 02e52ab8e..4b1ecf01f 100644--- a/skyvern-frontend/src/routes/tasks/types.ts+++ b/skyvern-frontend/src/routes/tasks/types.ts@@ -12,6 +12,7 @@ export const sampleCases = ["AAPLStockPrice","NYTBestseller","topRankedFootballTeam",+ "extractIntegrationsFromGong",] as const;export type SampleCase = (typeof sampleCases)[number];