-
-
Notifications
You must be signed in to change notification settings - Fork 5
CardCreatedTrigger
Rasmus Wulff Jensen edited this page Nov 1, 2023
·
5 revisions
Back to Automation Trigger List
Trigger when a card is added
- None
var automation = new Automation("Add Start date to card if it is created in the 'In Progress' List",
new CardCreatedTrigger(), // <-- Our trigger is when a Card is Created
new List<IAutomationCondition>
{
new ListCondition(ListConditionConstraint.AnyOfTheseLists, "In Progress") { TreatListNameAsId = true }
},
new List<IAutomationAction>
{
new SetFieldsOnCardAction(new SetCardStartFieldValue(DateTimeOffset.UtcNow))
});If you are looking for info on a specific method in TrelloDotNet then expand the Pages above and input the 'MethodName' (Example: 'AddCardAsync')