Describe the issue/error/question
How do I take a list of projects from Harvest
, filter only the new items, create Trello
card and send a message to RocketChat
, also if there are more than one new project?
I’ve gotten it to work if I limit the list from Harvest to ´1´ and by using this “updates”-node to check if it’s new/old, before sending it to Trello/RocketChat. The issue is when there is more than one project created within a short time span.
I did try with split-in-batches, but I did not get it to work any better.
Please let me know if I need to provide any more information.
Please share the workflow
Example Data from Harvest
[
{
"id": 123456781,
"name": "Project title",
"code": "1231",
"is_active": true,
"is_billable": true,
"is_fixed_fee": false,
"bill_by": "Project",
"budget": null,
"budget_by": "none",
"budget_is_monthly": false,
"notify_when_over_budget": false,
"over_budget_notification_percentage": 80,
"show_budget_to_all": false,
"created_at": "2023-03-08T09:41:00Z",
"updated_at": "2023-03-08T09:41:00Z",
"starts_on": null,
"ends_on": null,
"over_budget_notification_date": null,
"notes": "",
"cost_budget": null,
"cost_budget_include_expenses": false,
"hourly_rate": null,
"fee": null,
"client": {
"id": 123456,
"name": "Client",
"currency": "USD"
}
},
{
"id": 123456782,
"name": "Project title",
"code": "1231",
"is_active": true,
"is_billable": true,
"is_fixed_fee": false,
"bill_by": "Project",
"budget": null,
"budget_by": "none",
"budget_is_monthly": false,
"notify_when_over_budget": false,
"over_budget_notification_percentage": 80,
"show_budget_to_all": false,
"created_at": "2023-03-08T09:42:00Z",
"updated_at": "2023-03-08T09:42:00Z",
"starts_on": null,
"ends_on": null,
"over_budget_notification_date": null,
"notes": "",
"cost_budget": null,
"cost_budget_include_expenses": false,
"hourly_rate": null,
"fee": null,
"client": {
"id": 123456,
"name": "Client",
"currency": "USD"
}
},
{
"id": 123456783,
"name": "Project title",
"code": "1231",
"is_active": true,
"is_billable": true,
"is_fixed_fee": false,
"bill_by": "Project",
"budget": null,
"budget_by": "none",
"budget_is_monthly": false,
"notify_when_over_budget": false,
"over_budget_notification_percentage": 80,
"show_budget_to_all": false,
"created_at": "2023-03-08T09:43:00Z",
"updated_at": "2023-03-08T09:43:00Z",
"starts_on": null,
"ends_on": null,
"over_budget_notification_date": null,
"notes": "",
"cost_budget": null,
"cost_budget_include_expenses": false,
"hourly_rate": null,
"fee": null,
"client": {
"id": 123456,
"name": "Client",
"currency": "USD"
}
},
{
"id": 123456784,
"name": "Project title",
"code": "1231",
"is_active": true,
"is_billable": true,
"is_fixed_fee": false,
"bill_by": "Project",
"budget": null,
"budget_by": "none",
"budget_is_monthly": false,
"notify_when_over_budget": false,
"over_budget_notification_percentage": 80,
"show_budget_to_all": false,
"created_at": "2023-03-08T09:44:00Z",
"updated_at": "2023-03-08T09:44:00Z",
"starts_on": null,
"ends_on": null,
"over_budget_notification_date": null,
"notes": "",
"cost_budget": null,
"cost_budget_include_expenses": false,
"hourly_rate": null,
"fee": null,
"client": {
"id": 123456,
"name": "Client",
"currency": "USD"
}
},
{
"id": 123456785,
"name": "Project title",
"code": "1231",
"is_active": true,
"is_billable": true,
"is_fixed_fee": false,
"bill_by": "Project",
"budget": null,
"budget_by": "none",
"budget_is_monthly": false,
"notify_when_over_budget": false,
"over_budget_notification_percentage": 80,
"show_budget_to_all": false,
"created_at": "2023-03-08T09:45:00Z",
"updated_at": "2023-03-08T09:45:00Z",
"starts_on": null,
"ends_on": null,
"over_budget_notification_date": null,
"notes": "",
"cost_budget": null,
"cost_budget_include_expenses": false,
"hourly_rate": null,
"fee": null,
"client": {
"id": 123456,
"name": "Client",
"currency": "USD"
}
}
]
Information on your n8n setup
- n8n version: 0.218.0
- Database: SQLite
- Running n8n with the execution process: Own (default)
- Running n8n via: Docker