I’m trying to use the Create post script with the After user update trigger for a new-user introduction / notification workflow, and I’m not sure whether I’m understanding the documented limitation correctly, or whether there is a supported workaround.
I’ve already read:
- Using the new user update automation
- Allow “after user update” automation trigger to fire without custom field
My use case
I want to create an automated post when a new user completes a required signup/profile field.
At the same time, I would like that post to also include some optional custom user fields if the user filled them out, for example things like:
- pronouns / gender
- languages
- confirmation that community guidelines were understood
So the intended behavior would be:
- one required field guarantees the automation fires
- other optional fields are included in the post only if they happen to be filled
Where I’m getting stuck
The documentation for the trigger says:
The automation will only trigger once the user has filled in all of the specified fields.
And the UI also says:
Will trigger only if the user has filled all these fields
So as I understand it, if I add optional fields to the trigger configuration so I can use their placeholders, they stop being optional for the purposes of the automation, because the automation won’t fire unless they are all filled.
That seems to create a catch-22:
- if I include the optional fields in the trigger, the automation may never fire for users who skip them
- if I don’t include them in the trigger, then I may not be able to use their placeholders reliably in the post
My questions
- Am I understanding the current behavior correctly?
- Is the documented limitation still accurate today?
- Is there any supported way to:
- trigger the automation from one required field
- but still access other optional custom/profile fields in the post content if present?
- If not, is there a recommended workaround for this use case?
Ideal behavior
What I’m hoping for is something like:
- trigger when any required trigger condition is satisfied
- replace optional placeholders when values exist
- leave optional placeholders blank, unchanged, or omitted when values do not exist
But I’m not sure whether that is already possible and I’m just configuring it incorrectly.
Any guidance would be appreciated.
Thanks!