Aero Workflow ACTION
Create Company
Creates a company See the docs here
- Action
- Writes data
- API key
- SDK
- MCP
IMPLEMENTATION
Call this tool
Connect a user's Aero Workflow account once, then configure and run Create Company from your backend or agent.
import { PipedreamClient } from "@pipedream/sdk"
const pd = new PipedreamClient({
projectId: process.env.PIPEDREAM_PROJECT_ID!,
clientId: process.env.PIPEDREAM_CLIENT_ID!,
clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
projectEnvironment: "production",
})
const result = await pd.actions.run({
id: "aero_workflow-create-company",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
aero_workflow: { authProvisionId: "apn_xxxxxxx" },
companyName: "Company Name",
defaultEmailAddress: "Default Email Address",
},
})
console.log(result)curl -X POST https://api.pipedream.com/v1/connect/{project_id}/actions/run \
-H "Content-Type: application/json" \
-H "X-PD-Environment: production" \
-H "Authorization: Bearer {access_token}" \
-d '{
"external_user_id": "{external_user_id}",
"id": "aero_workflow-create-company",
"configured_props": {
"aero_workflow": { "authProvisionId": "apn_xxxxxxx" },
"companyName": "Company Name",
"defaultEmailAddress": "Default Email Address"
}
}'// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
new URL("https://remote.mcp.pipedream.net/v3"),
{
requestInit: {
headers: {
Authorization: `Bearer ${accessToken}`,
"x-pd-project-id": "{project_id}",
"x-pd-environment": "production",
"x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
"x-pd-app-slug": "aero_workflow",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// listTools() hands your model this tool's input schema, so it can
// fill the arguments itself:
const result = await mcp.callTool({
name: "aero_workflow-create-company",
arguments: {
companyName: "Company Name",
defaultEmailAddress: "Default Email Address",
},
})SCHEMA
Inputs
Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.
| Property | Type | Description |
|---|---|---|
companyName Company Name | string | Company name Required |
defaultEmailAddress Default Email Address | string | Default email address Optional |
phone Phone | string | Phone Optional |
website Website | string | Website Optional |
accountNumber Account Number | string | Account number Optional |
fax Fax | string | Fax Optional |
hourlyBillableRate Hourly Billable Rate | integer | Hourly billable rate Optional |
monthlyFixedFee Monthly Fixed Fee | integer | Monthly fixed fee Optional |
contactFirstName Contact First Name | string | Contact first name Optional |
contactLastName Contact Last Name | string | Contact last name Optional |
addressLine1 Company Address Line 1 | string | Address line 1 Optional |
addressLine2 Company Line 2 | string | Address line 2 Optional |
addressLine3 Company Line 3 | string | Address line 3 Optional |
addressCity City (Address) | string | Address city Optional |
addressState State (Address) | string | Address state Optional |
addressPostalCode Postal Code (Address) | string | Address postal code Optional |
addressCountry Country (Address) | string | Address country Optional |
notes Notes | string | Company notes Optional |
isLead Is Lead | boolean | Set true if it is a lead Optional |
REFERENCE
Tool details
Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.
- Registry key
- aero_workflow-create-company
- Version
- 0.0.2
- App
- Aero Workflow
- Authentication
- API key
- Read-only
- No
- Destructive
- No
- Open world
- Yes
- Source
- View on GitHub ↗