[← All integrations](/integrations/)

Pipedream integration

# Run your own code on every call.

Sempera sends a signed event to a Pipedream HTTP trigger when a call ends, and your Node.js or Python steps take it from there. A workflow can also start calls, and your agent can hand a request to a workflow during a call.

[Start building](https://app.sempera.org/sign-up)[Talk to our technology team](/demo/?cta=integrations)

Status today: Sempera sends signed call events to a Pipedream HTTP trigger, and workflows can start calls through the API. The mid-call hand-off is built and in beta, but it has not been proven with a live account and is not yet released to customers. It does not return a result to the caller.

### Rich event data for every call

A finished-call event carries the call id, the agent, how long it ran and whether a recording was stored, plus your agent metadata when set. A second event adds the outcomes your agent captured, matched on the call id.

### Your code does the processing

A Pipedream workflow can run Node.js or Python on each event: reshape the data, look up a customer, write to a database or call another API. Sempera only needs the trigger to answer with a success code within ten seconds.

### A hand-off during the call

Add the workflow's trigger address as a connection and the agent can send an event name, a one-line summary and the caller's details mid-call. It is told the workflow accepted it. The workflow's reply is not read back into the conversation.

### Verify every delivery

Deliveries are signed with a secret you set. In a code step, compute the signature over the raw body, compare it with the header, check the timestamp and stop the run if anything is off. Drop any event id you have already handled.

### Start calls from a workflow

A workflow can place an outbound call with an HTTP step to the Sempera API and your API key. Name the agent, the number and why the person agreed to be called. A repeated run with the same key will not dial twice.

### Progress events, not live audio

You can follow a call with events such as call started, call failed and call finished. These are notifications to your workflow. They are not a live audio stream, which is a separate feature.

## Connect Sempera to a workflow

Four steps to get a finished call into Pipedream.

1. 01

   In Pipedream, create a workflow with an HTTP / Webhook trigger and keep the raw request body. Copy the address it gives you.

2. 02

   Register the address with Sempera as a webhook endpoint, choose the events to send and set a secret so each delivery is signed.

3. 03

   Add a step that checks the signature on the raw body, then add your own processing or the next apps in your workflow.

4. 04

   Send a test delivery from Sempera, place a real test call, and read the workflow's execution log to confirm each step ran.

Our technology team works with you to define the connection, fit it to your existing systems, and support the launch.

[Talk to our technology team](/demo/?cta=integrations)

## Drop Sempera into your editor.

Use the REST API, the command line or the hosted MCP endpoint from the tools you already work in. Every example reads your key from the environment.

[Read the API docs](https://docs.sempera.org/)

### cURL

### JavaScript

### CLI

### MCP Copy code 1 curl --fail-with-body https://api.sempera.org/v1/me \
2 -H "Authorization: Bearer $SEMPERA_API_KEY"

Reads the account behind your key. It places no call and sends no message. [API reference](https://docs.sempera.org/)

## Frequently asked questions

###

### How does Sempera connect to Pipedream?

Through webhooks and the API. Sempera posts signed events to your HTTP trigger, and your workflow uses an HTTP step to call the Sempera API. It is not a Pipedream app.

###

### Can the workflow answer the agent during a call?

Not as a lookup. The mid-call connection hands off an event and the agent is told it was accepted, but the reply is not passed back to the caller. For live lookups, use a custom API tool from the agent instead.

###

### How do I check the signature?

Take the raw body exactly as received, build the signature from the timestamp and body with your secret, and compare it with the header in constant time. Reject timestamps more than five minutes from your clock.

###

### Can I follow a call while it is running?

You get event notifications as a call starts, fails or finishes. Live audio and a running transcript are separate features, not part of this connection.

###

### Can a workflow start calls?

Yes, with an HTTP step to the Sempera API. Calling hours, do-not-contact checks and your outbound limits still apply, and a refused call says why.

## Related integrations

[ Custom API Let your phone agent call any web service you choose during a call, to look something up or record something. ](/integrations/custom-api/)[ Zapier Start a Zap when a call ends, start a call from a Zap, or let your agent hand a Zap a request mid-call. ](/integrations/zapier/)[ MCP Connect an AI assistant to Sempera over MCP, or point your phone agent at your own MCP server so its tools work on live calls. ](/integrations/mcp/) [View all integrations →](/integrations/)

## Our technology team scopes the integration with you.

They map Sempera to your stack, design the rollout, and stay with you through go-live.

[Talk to us](/demo/?cta=integrations)[See Enterprise pricing](/pricing/)

## Build with Sempera in your editor.

Connect through the API, command line or hosted MCP endpoint. Start with the setup guide for your development environment.

[Start building](https://app.sempera.org/sign-up)[Read the API docs](https://docs.sempera.org/)
