Search the Community
Showing results for tags 'ZAPIER'.
-
hooks Cannot get cURL request to work hooks -> Zapier
karlfrankeser posted a topic in Developer Corner
Hello, I am new to this community! I am setting up a hook that allows me to pass new client data to Zapier in order to update our Marketing automation software. This is the code I have been testing now: add_hook('ClientAdd', 1, function ($vars) { $userid = $vars['userid']; $firstname = $vars['firstname']; $lastname = $vars['lastname']; $email = $vars['email']; $phone = $vars['phonenumber']; $city = $vars['city']; $country = $vars['country']; $postcode = $vars['postcode']; $company = $vars['companyname']; $state = $vars['state']; $params = '?userid='.$userid.'&firstname='.$firstname.'&lastname='.$lastname.'&email='.$email.'&phonenumber='.$phone.'&city='.$city.'&country='.$country.'&postcode='.$postcode.'&companyname='.$company.'&state='.$state.'&source=WHMCS'; $url = 'https://hooks.zapier.com/hooks/catch/zzz/rrrr/'.$params; $options = array( 'CURLOPT_POST' => 0 ); $response = curlCall($url,$postfields,$options); logActivity('logged addClient with params: ' . $params . 'following is the result: ' . $request, $userid); }); I also tried to send this via file_get_contents but it does not seem to work, by composing the url together with real world values gotten from the LOG in the admin area the request works on Zapier's end, I suppose that the problem lies within WHMCS and the request. The Zapier request has been altered for privacy reasons. Can anyone point me in the right direction? -
Hey, I use Zapier to create a new invoice. To customers who paid me through another system. The thing is, the invoice status is "unpaid" even though I actually received the payment. How can you create an automated process that automatically makes such an invoice a "paid" status?
-
Now that MailChimp has started offering web hosting in the guise of drag-and-drop site builders and domain registration, shouldn't WHMCS give us another way to automate emails? Isn't time WHMCS give us either Zendesk (which has all the triggers one need) or Zapier to complete automation?
-
Hey guys, not sure if everyone knows what Zapier is but it's an online service that let's you connect and automate over 250 web apps such as Constant Contact, Mailchimp, Infusionsoft, Freshbooks, Hubspot, etc. You can check out Zapier here. Anyways, I was in my Zapier account today and noticed WHMCS has been added. I've literally been waiting months for this. Here's the triggers and actions that are currently supported (these are straight from the docs): Supported Triggers New Client - Triggers whenever a new client is added New Ticket - Triggers on a new ticket New Todo Item - Triggers whenever a new todo item Supported Actions Create Ticket - Creates a new ticket in WHMCS. Create Client - Creates a new client Create Invoice - Creates a new invoice. Some screenshots from within Zapier: I hope this means big things to come for WHMCS in 2014!
- 3 replies
-
- infusionsoft
- mailchimp
-
(and 2 more)
Tagged with:
