Sofy Web Task – Azure DevOps ExtensionThis extension allows you to execute a Sofy Web Prompt directly from your Azure DevOps Pipeline. You can trigger a Sofy web task by providing your Project ID and Subscription Key, along with either a Prompt or an existing Prompt ID. Required Inputs1️-Subscription KeyYou must provide your Sofy subscription key. You can find it by: Logging into Sofy Navigating to Settings Opening the Integration section (Authentication dropdown) 2️-Project IDThe unique identifier of your Sofy project. You can find this inside your Sofy dashboard under your project details. Optional Inputs You must provide either: prompt → A new prompt text to execute OR prompt_id → An existing prompt ID already created in Sofy At least one of them must be provided. Usage (YAML Pipeline) Add the Sofy task inside your Azure DevOps YAML pipeline. trigger:
pool: vmImage: ubuntu-latest steps:
If you already have a saved prompt inside Sofy: steps:
Sample Pipelinetrigger:
pool: vmImage: ubuntu-latest steps:
How It WorksThis extension: Accepts your inputs from the pipeline Executes the internal task logic Sends a POST request to Sofy’s public web agent API Runs the provided prompt against your Sofy project Displays execution logs inside the Azure DevOps pipeline UI RequirementsAzure DevOps YAML pipeline Ubuntu or Windows agent (Microsoft-hosted supported) Valid Sofy projectId Valid subscriptionKey Either prompt or promptId |