هذه المقالة متاحة باللغة الإنجليزية حاليًا.

Call an external API from a workflow

Configure method, URL, headers, body, response mapping, and workflow variables.

Configuration fields

  • URL: the HTTPS endpoint called by the workflow.
  • Method: the supported HTTP method required by the external API.
  • Headers: content type, authorization, and other required metadata.
  • Body: the request payload, often JSON.
  • Response mappings: values copied from the response into workflow variables.
  • Status variable: a variable used to store the returned status.
  • Response variable: an optional variable used to retain selected response data.

Build the request

  1. Read the external API’s official documentation.
  2. Choose the method and HTTPS URL.
  3. Add only required headers.
  4. Construct the body using approved workflow variables.
  5. Map only the response values needed later.
  6. Create success and failure branches.
  7. Test timeouts, authentication failures, invalid data, and server errors.

Do not expose credentials

Prefer a secret-management mechanism supported by the production Kinsen environment. Do not place long-lived credentials in customer-visible messages, exported examples, screenshots, or public documentation.

ما زلت بحاجة إلى مساعدة؟

نحن هنا لمساعدتك.

أخبرنا بما تحاول القيام به، وسيرشدك فريق كينسن إلى الطريق الصحيح.

تواصل مع الدعم →