Packrift MCP Automation Workflows
Give automation hosts copy-ready Packrift MCP workflows that execute real tools/list and tools/call requests through the hosted endpoint without creating a duplicate CLI, marketplace, or buyer surface.
PACKRIFT-MCP-AUTOMATION-WORKFLOWS-R01
15 tools
1272 resources
no duplicate CLI
No Duplicate Work Rule
Use https://mcp.packrift.com/mcp plus source-aware query parameters. Do not create a separate Packrift CLI, scraper, checkout page, or buyer surface.
n8n Import
Import this JSON into n8n, then run the manual trigger from a real external n8n environment.
{
"name": "Packrift MCP first useful run",
"nodes": [
{
"parameters": {},
"id": "manual-trigger",
"name": "Manual Trigger",
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=n8n_automation&packrift_mcp_target=generic_streamable_http",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept",
"value": "application/json, text/event-stream"
},
{
"name": "Mcp-Session-Id",
"value": "={{'n8n-packrift-' + $execution.id}}"
},
{
"name": "user-agent",
"value": "n8n Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
}
]
},
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "{\"jsonrpc\":\"2.0\",\"id\":\"tools\",\"method\":\"tools/list\"}"
},
"id": "tools-list",
"name": "List Packrift MCP tools",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
240,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=n8n_automation&packrift_mcp_target=generic_streamable_http",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept",
"value": "application/json, text/event-stream"
},
{
"name": "Mcp-Session-Id",
"value": "={{'n8n-packrift-' + $execution.id}}"
},
{
"name": "user-agent",
"value": "n8n Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
}
]
},
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "{\"jsonrpc\":\"2.0\",\"id\":\"candidate-1066\",\"method\":\"tools/call\",\"params\":{\"name\":\"get_cart_handoff_candidates\",\"arguments\":{\"sku\":\"1066\",\"limit\":1,\"source_context\":\"n8n_automation_first_cart_run\",\"journey_id\":\"mcp_install_n8n_automation_1066_53472879935856\",\"result_set_id\":\"mcp_install_first_run_n8n_automation\"}}}"
},
"id": "cart-candidates",
"name": "Get cart handoff candidates",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
480,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=n8n_automation&packrift_mcp_target=generic_streamable_http",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept",
"value": "application/json, text/event-stream"
},
{
"name": "Mcp-Session-Id",
"value": "={{'n8n-packrift-' + $execution.id}}"
},
{
"name": "user-agent",
"value": "n8n Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
}
]
},
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "{\"jsonrpc\":\"2.0\",\"id\":\"price-1066\",\"method\":\"tools/call\",\"params\":{\"name\":\"get_pricing\",\"arguments\":{\"variant_ids\":[\"53472879935856\"],\"quantity\":1,\"selected_sku\":\"1066\",\"selected_handle\":\"10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle\",\"match_type\":\"n8n_first_useful_run\",\"source_context\":\"n8n_automation_first_cart_run\",\"journey_id\":\"mcp_install_n8n_automation_1066_53472879935856\",\"result_set_id\":\"mcp_install_first_run_n8n_automation\"}}}"
},
"id": "pricing",
"name": "Get live price",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
720,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=n8n_automation&packrift_mcp_target=generic_streamable_http",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept",
"value": "application/json, text/event-stream"
},
{
"name": "Mcp-Session-Id",
"value": "={{'n8n-packrift-' + $execution.id}}"
},
{
"name": "user-agent",
"value": "n8n Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
}
]
},
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "{\"jsonrpc\":\"2.0\",\"id\":\"inventory-1066\",\"method\":\"tools/call\",\"params\":{\"name\":\"check_inventory\",\"arguments\":{\"variant_ids\":[\"53472879935856\"],\"selected_sku\":\"1066\",\"selected_handle\":\"10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle\",\"match_type\":\"n8n_first_useful_run\",\"source_context\":\"n8n_automation_first_cart_run\",\"journey_id\":\"mcp_install_n8n_automation_1066_53472879935856\",\"result_set_id\":\"mcp_install_first_run_n8n_automation\"}}}"
},
"id": "inventory",
"name": "Check live inventory",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
960,
0
]
},
{
"parameters": {
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=n8n_automation&packrift_mcp_target=generic_streamable_http",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "content-type",
"value": "application/json"
},
{
"name": "accept",
"value": "application/json, text/event-stream"
},
{
"name": "Mcp-Session-Id",
"value": "={{'n8n-packrift-' + $execution.id}}"
},
{
"name": "user-agent",
"value": "n8n Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
}
]
},
"sendBody": true,
"contentType": "raw",
"rawContentType": "application/json",
"body": "{\"jsonrpc\":\"2.0\",\"id\":\"cart-1066\",\"method\":\"tools/call\",\"params\":{\"name\":\"create_cart_url\",\"arguments\":{\"sku\":\"1066\",\"quantity\":1,\"selected_sku\":\"1066\",\"selected_handle\":\"10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle\",\"match_type\":\"n8n_first_useful_run\",\"source_context\":\"n8n_automation_first_cart_run\",\"journey_id\":\"mcp_install_n8n_automation_1066_53472879935856\",\"result_set_id\":\"mcp_install_first_run_n8n_automation\",\"utm_term\":\"1066\"}}}"
},
"id": "create-cart",
"name": "Create measured MCP cart URL",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1200,
0
]
},
{
"parameters": {
"jsCode": "const raw = typeof $json === 'string' ? $json : JSON.stringify($json);\nconst match = raw.match(/https:\\/\\/mcp\\.packrift\\.com\\/r\\/cart\\/[^\"\\s<>\\\\]+/);\nif (!match) throw new Error('No measured Packrift MCP /r/cart URL found in create_cart_url response.');\nreturn [{ json: { cart_url: match[0], source_context: 'n8n_automation_first_cart_run' } }];"
},
"id": "extract-cart-url",
"name": "Extract measured cart URL",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
1440,
0
]
},
{
"parameters": {
"method": "GET",
"url": "={{$json.cart_url}}",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "user-agent",
"value": "n8n Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
}
]
}
},
"id": "touch-cart-landing",
"name": "Record measured cart landing",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
1680,
0
]
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "List Packrift MCP tools",
"type": "main",
"index": 0
}
]
]
},
"List Packrift MCP tools": {
"main": [
[
{
"node": "Get cart handoff candidates",
"type": "main",
"index": 0
}
]
]
},
"Get cart handoff candidates": {
"main": [
[
{
"node": "Get live price",
"type": "main",
"index": 0
}
]
]
},
"Get live price": {
"main": [
[
{
"node": "Check live inventory",
"type": "main",
"index": 0
}
]
]
},
"Check live inventory": {
"main": [
[
{
"node": "Create measured MCP cart URL",
"type": "main",
"index": 0
}
]
]
},
"Create measured MCP cart URL": {
"main": [
[
{
"node": "Extract measured cart URL",
"type": "main",
"index": 0
}
]
]
},
"Extract measured cart URL": {
"main": [
[
{
"node": "Record measured cart landing",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"tags": [
"packrift",
"mcp",
"ai-commerce"
],
"pinData": {},
"versionId": "packrift-mcp-first-useful-run-r01"
}
Zapier Webhooks Steps
[
{
"step": 1,
"app": "Webhooks by Zapier",
"event": "Custom Request",
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=zapier_automation&packrift_mcp_target=generic_streamable_http",
"headers": {
"content-type": "application/json",
"accept": "application/json, text/event-stream",
"Mcp-Session-Id": "zapier-packrift-{{zap_meta_human_now}}",
"user-agent": "Zapier Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
},
"data": {
"jsonrpc": "2.0",
"id": "tools",
"method": "tools/list"
}
},
{
"step": 2,
"app": "Webhooks by Zapier",
"event": "Custom Request",
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=zapier_automation&packrift_mcp_target=generic_streamable_http",
"headers": {
"content-type": "application/json",
"accept": "application/json, text/event-stream",
"Mcp-Session-Id": "zapier-packrift-{{zap_meta_human_now}}",
"user-agent": "Zapier Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
},
"data": {
"jsonrpc": "2.0",
"id": "candidate-1066",
"method": "tools/call",
"params": {
"name": "get_cart_handoff_candidates",
"arguments": {
"sku": "1066",
"limit": 1,
"source_context": "zapier_automation_first_cart_run",
"journey_id": "mcp_install_zapier_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_zapier_automation"
}
}
}
},
{
"step": 3,
"app": "Webhooks by Zapier",
"event": "Custom Request",
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=zapier_automation&packrift_mcp_target=generic_streamable_http",
"headers": {
"content-type": "application/json",
"accept": "application/json, text/event-stream",
"Mcp-Session-Id": "zapier-packrift-{{zap_meta_human_now}}",
"user-agent": "Zapier Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
},
"data": {
"jsonrpc": "2.0",
"id": "price-1066",
"method": "tools/call",
"params": {
"name": "get_pricing",
"arguments": {
"variant_ids": [
"53472879935856"
],
"quantity": 1,
"selected_sku": "1066",
"selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
"match_type": "zapier_first_useful_run",
"source_context": "zapier_automation_first_cart_run",
"journey_id": "mcp_install_zapier_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_zapier_automation"
}
}
}
},
{
"step": 4,
"app": "Webhooks by Zapier",
"event": "Custom Request",
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=zapier_automation&packrift_mcp_target=generic_streamable_http",
"headers": {
"content-type": "application/json",
"accept": "application/json, text/event-stream",
"Mcp-Session-Id": "zapier-packrift-{{zap_meta_human_now}}",
"user-agent": "Zapier Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
},
"data": {
"jsonrpc": "2.0",
"id": "inventory-1066",
"method": "tools/call",
"params": {
"name": "check_inventory",
"arguments": {
"variant_ids": [
"53472879935856"
],
"selected_sku": "1066",
"selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
"match_type": "zapier_first_useful_run",
"source_context": "zapier_automation_first_cart_run",
"journey_id": "mcp_install_zapier_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_zapier_automation"
}
}
}
},
{
"step": 5,
"app": "Webhooks by Zapier",
"event": "Custom Request",
"method": "POST",
"url": "https://mcp.packrift.com/mcp?packrift_mcp_source=zapier_automation&packrift_mcp_target=generic_streamable_http",
"headers": {
"content-type": "application/json",
"accept": "application/json, text/event-stream",
"Mcp-Session-Id": "zapier-packrift-{{zap_meta_human_now}}",
"user-agent": "Zapier Packrift MCP Workflow (+https://mcp.packrift.com/mcp)"
},
"data": {
"jsonrpc": "2.0",
"id": "cart-1066",
"method": "tools/call",
"params": {
"name": "create_cart_url",
"arguments": {
"sku": "1066",
"quantity": 1,
"selected_sku": "1066",
"selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
"match_type": "zapier_first_useful_run",
"source_context": "zapier_automation_first_cart_run",
"journey_id": "mcp_install_zapier_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_zapier_automation",
"utm_term": "1066"
}
}
}
}
]Pipedream Code
export default defineComponent({
async run({ steps, $ }) {
const endpoint = "https://mcp.packrift.com/mcp?packrift_mcp_source=pipedream_automation&packrift_mcp_target=generic_streamable_http";
const sessionId = `pipedream-packrift-${Date.now()}`;
const requests = [
{
"jsonrpc": "2.0",
"id": "tools",
"method": "tools/list"
},
{
"jsonrpc": "2.0",
"id": "candidate-1066",
"method": "tools/call",
"params": {
"name": "get_cart_handoff_candidates",
"arguments": {
"sku": "1066",
"limit": 1,
"source_context": "pipedream_automation_first_cart_run",
"journey_id": "mcp_install_pipedream_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_pipedream_automation"
}
}
},
{
"jsonrpc": "2.0",
"id": "price-1066",
"method": "tools/call",
"params": {
"name": "get_pricing",
"arguments": {
"variant_ids": [
"53472879935856"
],
"quantity": 1,
"selected_sku": "1066",
"selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
"match_type": "pipedream_first_useful_run",
"source_context": "pipedream_automation_first_cart_run",
"journey_id": "mcp_install_pipedream_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_pipedream_automation"
}
}
},
{
"jsonrpc": "2.0",
"id": "inventory-1066",
"method": "tools/call",
"params": {
"name": "check_inventory",
"arguments": {
"variant_ids": [
"53472879935856"
],
"selected_sku": "1066",
"selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
"match_type": "pipedream_first_useful_run",
"source_context": "pipedream_automation_first_cart_run",
"journey_id": "mcp_install_pipedream_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_pipedream_automation"
}
}
},
{
"jsonrpc": "2.0",
"id": "cart-1066",
"method": "tools/call",
"params": {
"name": "create_cart_url",
"arguments": {
"sku": "1066",
"quantity": 1,
"selected_sku": "1066",
"selected_handle": "10x6x6-ect-32-kraft-long-corrugated-boxes-25-bundle",
"match_type": "pipedream_first_useful_run",
"source_context": "pipedream_automation_first_cart_run",
"journey_id": "mcp_install_pipedream_automation_1066_53472879935856",
"result_set_id": "mcp_install_first_run_pipedream_automation",
"utm_term": "1066"
}
}
}
];
let lastText = '';
for (const body of requests) {
const res = await fetch(endpoint, {
method: 'POST',
headers: {
'content-type': 'application/json',
'accept': 'application/json, text/event-stream',
'Mcp-Session-Id': sessionId,
'user-agent': 'Pipedream Packrift MCP Workflow (+https://mcp.packrift.com/mcp)'
},
body: JSON.stringify(body)
});
lastText = await res.text();
if (!res.ok) throw new Error(`Packrift MCP request failed ${res.status}: ${lastText}`);
}
const match = lastText.match(/https:\/\/mcp\.packrift\.com\/r\/cart\/[^"\s<>\\]+/);
if (!match) throw new Error('No measured Packrift MCP /r/cart URL found.');
await fetch(match[0], { headers: { 'user-agent': 'Pipedream Packrift MCP Workflow (+https://mcp.packrift.com/mcp)' } });
return { cart_url: match[0], no_order_created: true };
}
});Success Gate
A real external automation host must record non-suppressed Packrift MCP tool calls and a measured https://mcp.packrift.com/r/cart URL; importing this pack alone is not adoption proof.