Create an Action - Fundraiser(s) Item

Options

I'm trying to pull the fundraiser from an opportunity into a linked action. There's a Fundraiser(s) Item section in the create an action, but if I try to drop in Fundraising Item from Get an Opportunity, it creates an additional Apply to each loop. I've also tried using the First expression, it doesn't work. Any suggestions?

c14e6f031d8c0becdad25b9e64dacaf4-huge-im

Comments

  • Probably the best option will be to initialize a string variable after your Get an Opportunity and then set that variable to the Fundraiser ID. Then plug the variable into your Create a Constituent field.

  • The Get an Opportunity is inside the Apply to Each loop, and I can't initialize a variable inside the Apply to Each loop.

  • I've tried using first(outputs('Get_an_opportunity')?['body/fundraisers'])['constituent_id'] in Compose, but the action fails as a Bad Request

    16655c4af90a3b3bbd2261606ec23f69-huge-im
    7f9384a4fea1e5674d6114ae040b16eb-huge-im

Categories