Facebook trigger
Facebook is a social networking site that makes it easy to connect and share with family and friends online.
!!! note "Credentials" You can find authentication information for this node here.
Object
- Get updates about an Ad Account
- Get updates about the app
- Get updates about Certificate Transparency
- Get updates about activity in groups and events in groups of Workplace
- Get updates about the comments on your media
- Get updates about the links for rich previews by an external provider
- Page updates
- Updates regarding granting or revoking permissions
- User profile updates
- Get updates about Whatsapp business account
- Get updates about Workplace security
Example Usage
This workflow allows you to receive a Mattermost message when a user updates their profile on Facebook. You can also find the workflow on Robbot Automation. This example usage workflow would use the following nodes.
- [Mattermost](/integrations/builtin/app-nodes/Robbot Automation-nodes-base.mattermost/)
1. Facebook Trigger node
The Facebook Trigger node will trigger the workflow when a user updates their profile on Facebook.
- First of all, you'll have to enter credentials for the Facebook Trigger node. You can find out how to do that here.
- Select 'User' from the Object dropdown list.
- Enter your app ID in the App ID field.
- Click on Save to run the node.
2. Mattermost node (post: message)
This node will send a message of the updated information in the channel Information Updated
in Mattermost. If you have a different channel, use that instead.
First of all, you'll have to enter credentials for the Mattermost node. You can find out how to do that here.
Select a channel from the Channel ID dropdown list.
Click on the gears icon next to the Message field and click on Add Expression.
Enter the following message in the Expression field:
The user with uid {{$node["Facebook Trigger"].json["uid"]}} changed their {{$node["Facebook Trigger"].json["changes"][0]["field"]}} to {{$node["Facebook Trigger"].json["changes"][0]["value"]["page"]}}.
.Click on Save to run the node.
!!! note "Activate workflow for production" You'll need to save the workflow and then click on the Activate toggle on the top right of the screen to activate the workflow. Your workflow will then be triggered as specified by the settings in the Facebook Trigger node.