GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing pipedream.com — Destinations - Pipedream Workflows and String are shutting down on March 31, 2027. Learn more
Available DestinationsUsing destinationsUsing destinations in workflowsYou can send data to Destinations in Node.js code steps, too, using$.send functions.
$.send is an object provided by Pipedream that exposes destination-specific functions like $.send.http(), $.send.s3(), and more. This allows you to send data to destinations programmatically, if you need more control than the default actions provide.
Let’s use $.send.http() to send an HTTP POST request like we did in the Action example above. Add a new action, then search for “Run custom code”:
Create a new HTTP endpoint URL (try creating a new Pipedream workflow and adding an HTTP trigger), and add the code below to your code step, with the URL you created:
$.send.http() function.
Again, it’s important to remember that Destination delivery is asynchronous. If you iterate over an array of values and send an HTTP request for each:
await the execution of the HTTP requests in your workflow. We’ll collect every $.send.http() call and defer those HTTP requests, sending them after your workflow finishes.
Using destinations in actionsIf you’re authoring a component action, you can deliver data to destinations, too.$.send isn’t directly available to actions like it is for workflow code steps. Instead, you use $.send to access the destination-specific functions:
Asynchronous DeliveryEvents are delivered to destinations asynchronously — that is, separate from the execution of your workflow. This means you’re not waiting for network or connection I/O in the middle of your function, which can be costly. Some destination payloads, like HTTP, are delivered within seconds. For other destinations, like S3 and SQL, we collect individual events into a batch and send the batch to the destination. See the docs for a specific destination for the relevant batch delivery frequency.Was this page helpful? |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |