Make
There is no native Brainpercent Make app. Use the HTTP module against https://www.brainpercent.app/api/v1.
01What you need
- A write key from Developer settings.
- A project id from GET /projects.
02HTTP module
Method POST. URL https://www.brainpercent.app/api/v1/social/generate. Header Authorization Bearer. Body JSON. 0.6 credits per platform.
{
"source_url": "{{1.url}}",
"platforms": ["linkedin", "twitter"],
"source_type": "blog",
"project_id": "{{project_id}}"
}Next module: Sleep 15 seconds. Then HTTP GET https://www.brainpercent.app/api/v1/social/content/{{content_id}}. Repeat while status is queued or generating. Ready or completed means the posts are there, partial means some channels failed, and failed means none were made. Then you can POST /social/publish if a channel is connected.
- HTTP moduleStart the postsPOST /social/generate
- SleepWait 15 seconds
- HTTP moduleAsk for the statusRepeat from Sleep until the posts are done.
- HTTP modulePublish the postsPOST /social/publish, if a channel is connected.
Keys: Developer settings.