> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# call_action

> Step function: call_action

Runs another action and returns its result.

## Input

<Tabs>
  <Tab title="v1">
    <table>
      <colgroup>
        <col width="210" />

        <col width="400" />

        <col width="90" />

        <col width="90" />
      </colgroup>

      <thead>
        <tr>
          <th>Field</th>
          <th>Description</th>
          <th>Type</th>
          <th>Required</th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>`actionId`</td>
          <td>Id of the action to run, with or without the connector key prefix. Must be a literal: expressions are rejected so that cycles can be caught at validation time.<br />Pattern: `^[A-Za-z0-9_-]+$`</td>
          <td>string</td>
          <td>Yes</td>
        </tr>

        <tr>
          <td>[`inputs`](#inputs)</td>
          <td>Inputs for the callee, grouped by the location each one is declared `in:`. A value written under the wrong location is dropped rather than reported, and a callee that declares no inputs ignores all of them.</td>
          <td>object</td>
          <td>No</td>
        </tr>
      </tbody>
    </table>

    <AccordionGroup>
      <Accordion title="inputs">
        Inputs for the callee, grouped by the location each one is declared `in:`. A value written under the wrong location is dropped rather than reported, and a callee that declares no inputs ignores all of them.

        <table>
          <colgroup>
            <col width="210" />

            <col width="400" />

            <col width="90" />

            <col width="90" />
          </colgroup>

          <thead>
            <tr>
              <th>Field</th>
              <th>Description</th>
              <th>Type</th>
              <th>Required</th>
            </tr>
          </thead>

          <tbody>
            <tr>
              <td>`body`</td>
              <td>Values for the callee's inputs declared `in: body`.</td>
              <td>any</td>
              <td>No</td>
            </tr>

            <tr>
              <td>`headers`</td>
              <td>Values for the callee's inputs declared `in: header`.</td>
              <td>object</td>
              <td>No</td>
            </tr>

            <tr>
              <td>`path`</td>
              <td>Values for the callee's inputs declared `in: path`.</td>
              <td>object</td>
              <td>No</td>
            </tr>

            <tr>
              <td>`query`</td>
              <td>Values for the callee's inputs declared `in: query`.</td>
              <td>object</td>
              <td>No</td>
            </tr>
          </tbody>
        </table>
      </Accordion>
    </AccordionGroup>
  </Tab>
</Tabs>

## Output

<Tabs>
  <Tab title="v1">
    <table>
      <colgroup>
        <col width="210" />

        <col width="400" />

        <col width="90" />

        <col width="90" />
      </colgroup>

      <thead>
        <tr>
          <th>Field</th>
          <th>Description</th>
          <th>Type</th>
          <th>Required</th>
        </tr>
      </thead>

      <tbody>
        <tr>
          <td>`data`</td>
          <td>The callee's `data`, when its result declares one. A result that is not an object is placed here whole, and a failed call puts the provider's parsed error body here.</td>
          <td>any</td>
          <td>No</td>
        </tr>

        <tr>
          <td>`message`</td>
          <td>Error message, present only when the call failed.</td>
          <td>string</td>
          <td>No</td>
        </tr>

        <tr>
          <td>`raw`</td>
          <td>The callee's raw provider response, present only when the call failed.</td>
          <td>any</td>
          <td>No</td>
        </tr>

        <tr>
          <td>`statusCode`</td>
          <td>Status code of the callee's response.</td>
          <td>number</td>
          <td>Yes</td>
        </tr>
      </tbody>
    </table>
  </Tab>
</Tabs>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.