With the Automation Center's Custom Script action option, you can write Node.js code when creating automations in the Automation Center. This provides more flexibility and autonomy, and enables you to test and deploy custom logic or integrations quickly and safely, without needing a third-party integration tool like Workato.
Create a Custom Script Automation
To create a custom script automation rule, follow the steps below:
Click your company logo in the bottom left corner. Then click Settings.
Click the Automations settings link. If you do not see this option, reach out to your Fountain Customer Success contact or [email protected] to enable the Automation Center in your account.
Click +Add Automation in the top right corner.
Follow the steps outlined in this article when selecting the source, trigger(s), and optional filter(s).
In the Action section, select the Run a custom script action type.
Select Code to type in the code directly. Select Package to import files.
Click Apply
Click Next in the top right.
Type a name for the automation and an optional description.
Click Activate.
Use the Read Documentation link for examples
For example scripts and starting-point templates, click Read documentation. The documentation includes ready-to-use scripts for common use cases such as HRIS API calls, Slack notifications, and attribute updates — a useful reference when building your first custom script.
Customer Examples:
Used to replace special characters in a worker's name to avoid HRIS errors when the worker's information is sent to the HRIS system.
Used to update applicant attributes when a document provided as part of a Compliance Requirement's status changes.
Used to add additional information into a Worker's Profile from another source, like an HRIS or an older profile in Fountain that belongs to the same person.
Used with the "When an applicant sends a message" trigger to route inbound applicant SMS or email messages to a webhook endpoint, enabling automated replies or real-time escalation to a human recruiter.




