SOLVED

Re: Using custom object data in Create Task in Microsoft?

Go to solution
KevinTruong
Level 2

Using custom object data in Create Task in Microsoft?

I've Googled and read through similar old posts so I think I know the answer to this, but to pose the question anyway:

 

We use the Create Task in Microsoft flow step to notify relationship managers when one of their clients do certain actions. In the task we bring in certain values eg

KevinTruong_1-1731371449257.png

 

According to Marketo help this only works for Person, Company, Campaign, and System tokens. Has anyone been able to get this to work for data in a custom object? Eg we have an custom object called IterationSummary that has a field called Amount that we're hoping to pull into the Task description. 

 

Thanks 

1 ACCEPTED SOLUTION

Accepted Solutions
Michael_Florin
Level 10

Re: Using custom object data in Create Task in Microsoft?


According to Marketo help this only works for Person, Company, Campaign, and System tokens. Has anyone been able to get this to work for data in a custom object? Eg we have an custom object called IterationSummary that has a field called Amount that we're hoping to pull into the Task description. 


I fear that Marketo's documentation speaks the truth here, and trigger tokens are not allowed in a task's subject or description. I've just been there and had to learn that program tokens don't work these areas either.

View solution in original post

7 REPLIES 7
SanfordWhiteman
Level 10 - Community Moderator

Re: Using custom object data in Create Task in Microsoft?

You've tried {{trigger.Amount}} (assuming you're triggering on Added to IterationSummary, of course)?
KevinTruong
Level 2

Re: Using custom object data in Create Task in Microsoft?

Thanks @SanfordWhiteman, it's a daily batch campaign first that then requests a trigger campaign. I'll give it a go though and see what happens. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Using custom object data in Create Task in Microsoft?

Wouldn't work unless the trigger is the CO being added.
KevinTruong
Level 2

Re: Using custom object data in Create Task in Microsoft?

Ok thanks, I'll try to find another solution. 

SanfordWhiteman
Level 10 - Community Moderator

Re: Using custom object data in Create Task in Microsoft?

In such situations, I make use of a webhook (that is, webhook-compatible service).

 

Pass leads to the webhook. The service uses the REST API to fetch the person’s CO records and picks out the applicable one, then creates a Custom Activity with the interesting fields. You can trigger on the CA and use {{trigger.tokens}}.

 

Jo_Pitts1
Level 10 - Community Advisor

Re: Using custom object data in Create Task in Microsoft?

@KevinTruong,

as @SanfordWhiteman is the creator of FlowBoost, he can't say that FlowBoost is the Web Hook Service he uses.

 

However I didn't create it, but I do use it a lot; so I can tell you that FlowBoost would be the Web Hook Service to use in this situation.

 

Cheers

Jo

Michael_Florin
Level 10

Re: Using custom object data in Create Task in Microsoft?


According to Marketo help this only works for Person, Company, Campaign, and System tokens. Has anyone been able to get this to work for data in a custom object? Eg we have an custom object called IterationSummary that has a field called Amount that we're hoping to pull into the Task description. 


I fear that Marketo's documentation speaks the truth here, and trigger tokens are not allowed in a task's subject or description. I've just been there and had to learn that program tokens don't work these areas either.