writeProfileInput
Write a value to the profile input. This persists across flow runs for the same profile.
Signature
await utils.writeProfileInput(key, value)Parameters
| Param | Type | Description |
|---|---|---|
key | string | Profile input key (must match config) |
value | string | number | boolean | Value to store |
Examples
await utils.writeProfileInput("token", "abc123");
await utils.writeProfileInput("retryCount", 3);
await utils.writeProfileInput("lastRun", new Date().toISOString());Last updated on