{"meta":{"instanceId":"workflow-72e806e3","versionId":"1.0.0","createdAt":"2025-09-29T07:07:45.777350","updatedAt":"2025-09-29T07:07:45.777361","owner":"n8n-user","license":"MIT","category":"automation","status":"active","priority":"high","environment":"production"},"nodes":[{"id":"28409b8d-3ae2-4cdb-a4ba-b0af9f31c1f2","name":"HTTP Request","type":"n8n-nodes-base.httpRequest","position":[940,440],"parameters":{"url":"{{ $env.BASE_URL }}","options":{},"authentication":"{{ $credentials.predefinedCredentialType }}","nodeCredentialType":"YOUR_CREDENTIAL_HERE"},"credentials":{"githubApi":{"id":"{{ $credentials.githubApi.id }}","name":"GitHub account"}},"typeVersion":2,"notes":"This httpRequest node performs automated tasks as part of the workflow."},{"id":"aa604a92-7691-4b25-bbd0-ce42b8147fd8","name":"Search PR user in Pipedrive by email","type":"n8n-nodes-base.pipedrive","position":[1220,440],"parameters":{"term":"={{ $json[\"email\"]}}","resource":"person","operation":"search","additionalFields":{"fields":"email"}},"credentials":{"pipedriveApi":{"id":"{{ $credentials.pipedriveApi.id }}","name":"Pipedrive account"}},"typeVersion":1,"alwaysOutputData":true,"notes":"This pipedrive node performs automated tasks as part of the workflow."},{"id":"444a840f-3d34-48c4-b539-fe23a2a2a39c","name":"person exists","type":"n8n-nodes-base.if","position":[1460,440],"parameters":{"conditions":{"string":[{"value1":"={{$json[\"name\"]}}","operation":"isNotEmpty"}]}},"typeVersion":1,"notes":"This if node performs automated tasks as part of the workflow."},{"id":"b713ebee-0346-453e-bc1e-5dec1c74057f","name":"Pipedrive","type":"n8n-nodes-base.pipedrive","position":[1780,340],"parameters":{"content":"=Created a PR \n{{$node[\"ON Pull Request\"].json[\"body\"][\"pull_request\"][\"html_url\"]}}","resource":"note","additionalFields":{"person_id":"={{ $json[\"id\"] }}"}},"credentials":{"pipedriveApi":{"id":"{{ $credentials.pipedriveApi.id }}","name":"Pipedrive account"}},"typeVersion":1,"notes":"This pipedrive node performs automated tasks as part of the workflow."},{"id":"72b08b20-5b30-4f06-bf7e-34ab28421455","name":"NoOp","type":"n8n-nodes-base.noOp","position":[1780,540],"parameters":{},"typeVersion":1,"notes":"This noOp node performs automated tasks as part of the workflow."},{"id":"e0a1b859-16d4-4884-a17a-6e857fdbe8d4","name":"ON Pull Request","type":"n8n-nodes-base.githubTrigger","position":[640,440],"webhookId":"ec0c326f-4ccd-4c07-8653-ec0fe23765d5","parameters":{"owner":"John-n8n","events":["pull_request"],"repository":"DemoRepo"},"credentials":{"githubApi":{"id":"{{ $credentials.githubApi.id }}","name":"GitHub account"}},"typeVersion":1,"notes":"This githubTrigger node performs automated tasks as part of the workflow."}],"connections":{"HTTP Request":{"main":[[],[],[],[],[],[],[],[],[]]}},"name":"Httprequest Workflow","description":"Automated workflow: Httprequest Workflow. This workflow processes data and performs automated tasks.","settings":{"executionOrder":"v1","saveManualExecutions":true,"callerPolicy":"workflowsFromSameOwner","errorWorkflow":null,"timezone":"UTC","executionTimeout":3600,"maxExecutions":1000,"retryOnFail":true,"retryCount":3,"retryDelay":1000},"notes":"Excellent quality workflow: Httprequest Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}