---
title: "Steps | Docs | Integrations by R&D Copilot"
description: "Dependencies determine when a step may begin; attempts record each execution."
canonical: "https://integrations.rdcopilot.com/docs/concepts/steps/"
language: en
updated: 2026-11-22
---

# Steps

Dependencies determine when a step may begin; attempts record each execution.

## Dependencies

A step begins after every dependency is `completed` or `skipped`. A pending step cannot be completed directly. The parallel node releases the CRM and WMS calls; approval waits for both dependencies.

## Attempts and results

Each attempt, made by the run or added by an operator, increments `attempts` and adds an entry to `attemptLog` with its start, end, outcome and error. Input and output belong to the step record. A response from an older attempt cannot complete the current attempt.

curl

```bash
curl "$RDC_BASE_URL/integrations/v1/runs/run-b73a02/steps/trigger" \
  -H "Authorization: Bearer $RDC_TOKEN"
```

JavaScript

```javascript
const response = await fetch(`${process.env.RDC_BASE_URL}/integrations/v1/runs/run-b73a02/steps/trigger`, {
  method: 'GET',
  headers: {
    Authorization: `Bearer ${process.env.RDC_TOKEN}`,
  },
});
const result = await response.json();
```

Python

```python
import os
import requests

response = requests.request(
    'GET',
    f'{os.environ["RDC_BASE_URL"]}/integrations/v1/runs/run-b73a02/steps/trigger',
    headers={
        'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
    },
)
result = response.json()
```

PHP

```php
<?php

$curl = curl_init(getenv('RDC_BASE_URL') . '/integrations/v1/runs/run-b73a02/steps/trigger');
curl_setopt_array($curl, [
    CURLOPT_CUSTOMREQUEST => 'GET',
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_HTTPHEADER => [
        'Authorization: Bearer ' . getenv('RDC_TOKEN'),
    ],
]);
$result = json_decode(curl_exec($curl), true);
curl_close($curl);
```

C#

```csharp
using System.Net.Http.Headers;

var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/integrations/v1/runs/run-b73a02/steps/trigger");
request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
var response = await client.SendAsync(request);
var result = await response.Content.ReadAsStringAsync();
```

Response 200

```json
{
  "id": "trigger",
  "status": "pending",
  "attempts": 0,
  "started": null,
  "ended": null,
  "retryAt": null,
  "input": {
    "order": {
      "number": "CV-1046",
      "currency": "RON",
      "netTotal": "2818.41"
    }
  },
  "output": {},
  "attemptLog": []
}
```

## Waiting steps

An approval or wait step uses `waiting`; the run remains `running`. Check the step type to distinguish an approval decision from a timed wait. Both remain subject to their time limit.
