new webhook feature

Hi

i’m trying to create a post request from another tool to create a task in asana
i have been successful in creating the task and writing a comment but i’m facing an issue for setting up the due date and assignee
my payload:

{
  "data": {
    "resource": "1207812836707823",
    "action_data" : {
    "Details" : "$type $Desc",
    "isSite" : "$isSite",
    "isMeeting" : "True",
    "StartDate": "$AppDate",
    "StartTime" : "$timea",
    "DueDate" : "12/12/2024",
    "DueTime" : "null",
    "ToIds" : " ناصر تيست "
}
  }
}

when trying to set an assignee i’m facing issue on how link the ToId as a user ID
for Due date as well


is there a way when creating the rule for webhhok to introduce these 2 keys as assignee ID and due date

It’s hard to give you specific advice as that JSON doesn’t represent any Asana object, so there’s no good starting point from which to point you.

Hi phil
This jason is from another tool i want to use the attribute to assigne the task and set the due date
In the workflow rule
The json is recognized by the asana rule i can list all the data in the description for example
The issue is i can’t use them as variables to the due date and assignee field