CONNECT APP
Build with ArcGIS Online
Data Analytics
- OAuth
MCP
Give your agent ArcGIS Online tools
Every ArcGIS Online action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's ArcGIS Online account for each tool call — you store no tokens.
// 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": "arcgis_online",
},
},
},
)
const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)
const { tools } = await mcp.listTools()
// e.g. run Find Intersecting Features by Geometry:
const result = await mcp.callTool({
name: "arcgis_online-query-intersecting-features-by-geometry",
arguments: {
featureService: "Feature Service",
targetLayerIds: ["Target Layers"],
},
})# access_token: mint a short-lived token with the Connect SDK — see the MCP guide
headers = {
"Authorization": f"Bearer {access_token}",
"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": "arcgis_online",
}
async with streamablehttp_client("https://remote.mcp.pipedream.net/v3", headers=headers) as (read, write, _):
async with ClientSession(read, write) as session:
await session.initialize()
tools = await session.list_tools()
# e.g. run Find Intersecting Features by Geometry:
result = await session.call_tool("arcgis_online-query-intersecting-features-by-geometry", {
"featureService": "Feature Service",
"targetLayerIds": ["Target Layers"],
})API PROXY
Call the ArcGIS Online API directly
For an endpoint with no pre-built tool, the Connect proxy forwards your request to the ArcGIS Online API with the connected user's credentials attached. You store no tokens and write no refresh logic.
const resp = await pd.proxy.get({
externalUserId: "{external_user_id}", // any stable ID for this user in your system
accountId: "apn_xxxxxxx",
url: "https://api.example.com/v1/me",
})
// Any allowed ArcGIS Online endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me
curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
-H "Authorization: Bearer {access_token}" \
-H "x-pd-environment: production"SDK
Run ArcGIS Online actions from your backend
Connect a user's ArcGIS Online account once, then run Find Intersecting Features by Geometry on their behalf from your own code — TypeScript, Python, or plain HTTP.
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: "arcgis_online-query-intersecting-features-by-geometry",
externalUserId: "{external_user_id}", // any stable ID for this user in your system
configuredProps: {
arcgis_online: { authProvisionId: "apn_xxxxxxx" },
featureService: "Feature Service",
targetLayerIds: ["Target Layers"],
},
})from pipedream import Pipedream
pd = Pipedream(
client_id="{oauth_client_id}",
client_secret="{oauth_client_secret}",
project_id="{project_id}",
project_environment="production",
)
result = pd.actions.run(
id="arcgis_online-query-intersecting-features-by-geometry",
external_user_id="{external_user_id}", # any stable ID for this user in your system
configured_props={
"arcgis_online": {"authProvisionId": "apn_xxxxxxx"},
"featureService": "Feature Service",
"targetLayerIds": ["Target Layers"],
},
)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": "arcgis_online-query-intersecting-features-by-geometry",
"configured_props": {
"arcgis_online": { "authProvisionId": "apn_xxxxxxx" },
"featureService": "Feature Service",
"targetLayerIds": ["Target Layers"]
}
}'TOOLS
ArcGIS Online actions
On-demand operations your product or agent can configure and run on behalf of a connected user.
-
Find Intersecting Features by Geometry
actionQuery target layers in a Feature Service for records whose geometry intersects an Esri JSON boundary you provide. Supports polygon (rings), polyline (paths), and point (x/y) geometries and returns per-layer attribute arrays. See the documentationRead-onlyv0.0.3 -
Find Intersecting Features by Object ID
actionLoad a feature by OBJECTID from the source layer, then query target layers in the same Feature Service for spatially intersecting features. Returns per-layer attribute arrays. See the documentationRead-onlyv0.1.1 -
Find Intersecting Features by Search Query
actionQuery one source feature by SQLWHEREclause, then use that feature's geometry to find intersecting records in target layers from the same Feature Service. Returns per-layer attribute arrays. See the documentationRead-onlyv0.1.2 -
List Feature Services
actionList Feature Services accessible to the authenticated user. By default only returns services within the user's organization. See the documentationRead-onlyv0.0.2 -
List Layer Fields
actionList all fields (columns) on a Feature Service layer, including name, alias, type, and whether the field is editable. See the documentationRead-onlyv0.0.1 -
List Layers
actionList all layers in a Feature Service. Returns each layer's id, name, geometry type, and type. See the documentationRead-onlyv0.0.1 -
Search by Column
actionSearch for features in a layer where a field matches a value. Builds aWHERE field = 'value'query with SQL-escaped single quotes. Returns matching features as a flat array of attribute objects (no geometries). See the documentationRead-onlyv0.1.2 -
Update Row by Object ID
actionUpdate a single attribute on a feature identified by OBJECTID using the applyEdits operation. Dropdowns filter to editable layers and fields. See the documentationWritev0.2.1
EVENTS
ArcGIS Online triggers
Event sources your backend can deploy for users and receive through a webhook.
No ArcGIS Online triggers are available yet.
MULTI-APP
Use ArcGIS Online with other popular apps
Most products don't stop at one integration. Pair ArcGIS Online with the other apps your users rely on, and ship use cases that span both.
- App slug
- arcgis_online
- Authentication
- OAuth
- Categories
- Data Analytics
- Actions
- 8
- Triggers
- 0
- API proxy
- Available