With the Agent002 connector
A custom connector gives your flows a When a new response arrives trigger with a form picker, and actions to read forms and responses.
- In Agent002, make a key under Connections → API keys.
- In Power Automate, open Custom connectors → New custom connector → Import from URL, and enter
https://forms.agent002.eu/api/v1/openapi.json. - On Security, keep API Key with the header
X-Api-Key. Choose Create connector. - In a new flow, search for your connector, pick When a new response arrives, paste your key when asked, and choose the form.
With an HTTP trigger
- Start a flow with When an HTTP request is received, and save it to get its address.
- In Agent002, open the form, go to Destinations → Webhook, paste the address and choose Add.
- Choose Send a test, then use the sample to Generate from sample in the trigger’s schema.
Good to know
- Custom connectors and the HTTP trigger are premium features of Power Automate: check your licence.
- Each response has
fields: every question’s label and its answer as text, in form order. Use Apply to each on it, or pick answers by key fromsubmission.answers. - To post to a Teams channel only, the Teams destination is simpler.