Hello Eli,
If the ticket subject carries the launch date, you could use the Dispatchr' webhook as it would act immediately on ticket creation.
You could use liquid filters to strip off the content from the subject, using the placeholder {{ticket.subject}}, leaving behind the launch date alone.
The callback URL has to be constructed in a way that the endpoint is actually the company profile - https://org.freshdesk.com/api/v2/companies/{{ticket.company.id}}
Hope this helps!
Cheers!
Thanks for the help!
I'm still not clear on how I can put this into my custom field though
Eli,
Maybe see if this can make it easier :)
Content type - Application/Json
Request type - PUT
Endpoint - https://domain.freshdesk.com/api/v2/companies/{{ticket.company.id}}
Sample request:
{
"custom_fields":{"launch_date":"{{ticket.subject}}"};
}
Cheers!
Thank you, that clears a lot up.
However, it's the company still isn't getting updated.
I have attached a screenshot of what I'm trying to do. Note that I am not actually using https://domain.freshdesk.com/api/v2/companies/{{ticket.company.id}} as my end point, I just changed it because I'm uploading this to a forum. I am using our correct domain when I try to make the request.