$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "productProfile": "We build n8n automation workflows for small businesses.",
< "keywords": [
< "n8n",
< "automation"
< ],
< "posts": [
< {
< "id": "demo-buyer-1",
< "title": "Looking for n8n automation help",
< "text": "Our manual spreadsheets are too expensive to maintain. We have a budget and need a workflow provider.",
< "url": "https://example.com/demo/buyer-1"
< },
< {
< "id": "demo-buyer-2",
< "text": "Looking for an alternative to our n8n automation setup. Comparing providers, willing to pay for help with manual work.",
< "url": "https://example.com/demo/buyer-2"
< },
< {
< "id": "demo-promotion",
< "text": "Looking for n8n automation? Try our new app and use a discount code.",
< "url": "https://example.com/demo/promotion"
< },
< {
< "id": "demo-unrelated",
< "text": "Looking for hiking shoes. Budget available. Which software compares boots?",
< "url": "https://example.com/demo/unrelated"
< },
< {
< "id": "demo-noise",
< "text": "A useful guide to n8n automation for hobby projects.",
< "url": "https://example.com/demo/noise"
< },
< {
< "id": "demo-buyer-pl",
< "text": "Szukam n8n automation dla malej firmy. Robimy to recznie, budzet jest ustalony. Potrzebuje pomocy.",
< "url": "https://example.com/demo/buyer-pl"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/danielmichalek~buying-intent-lead-scorer/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'